Skip to content

Commit bd181b7

Browse files
committed
fix test demo
1 parent 04bb4ab commit bd181b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo_test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MODEL_PATH=./baseline-resnet34_dilated8-psp_bilinear
2+
RESULT_PATH=./
23
mkdir $MODEL_PATH
34

45
wget -P $MODEL_PATH http://sceneparsing.csail.mit.edu/model/pytorch/baseline-resnet34_dilated8-psp_bilinear/encoder_best.pth
56
wget -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

99
python -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

0 commit comments

Comments
 (0)