File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11MODEL_PATH=./baseline-resnet34_dilated8-psp_bilinear
2+ RESULT_PATH=./
23mkdir $MODEL_PATH
34
45wget -P $MODEL_PATH http://sceneparsing.csail.mit.edu/model/pytorch/baseline-resnet34_dilated8-psp_bilinear/encoder_best.pth
56wget -P $MODEL_PATH http://sceneparsing.csail.mit.edu/model/pytorch/baseline-resnet34_dilated8-psp_bilinear/decoder_best.pth
6-
7- wget http://sceneparsing.csail.mit.edu//data/ADEChallengeData2016/images/validation/ADE_val_00000278.jpg
7+ wget -P $RESULT_PATH http://sceneparsing.csail.mit.edu//data/ADEChallengeData2016/images/validation/ADE_val_00000278.jpg
88
99python -u test.py \
1010 --model_path $MODEL_PATH \
1111 --test_img ./ADE_val_00000278.jpg \
1212 --arch_encoder resnet34_dilated8 \
1313 --arch_decoder psp_bilinear \
1414 --fc_dim 512 \
15- --result .
15+ --result $RESULT_PATH
You can’t perform that action at this time.
0 commit comments