File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -121,17 +121,18 @@ usage: eval.py [-h] --id ID [--suffix SUFFIX] [--arch_encoder ARCH_ENCODER]
121121
122122
123123## Test/Inference
124- 1 . Do inference on a single image:
124+ 1 . Here is a simple demo to do inference on a single image:
125125``` bash
126- python test.py --ckpt CKPT_PATH --id MODEL_ID --test_img TEST_IMG
126+ chmod +x demo_test.sh
127+ ./demo_test.sh
127128```
1281292 . Input arguments: (see full input arguments via ``` python test.py -h ``` )
129130``` bash
130- usage: test.py [-h] --id ID [--suffix SUFFIX] [--arch_encoder ARCH_ENCODER]
131- [--arch_decoder ARCH_DECODER ] [--fc_dim FC_DIM] --test_img
132- TEST_IMG [--num_val NUM_VAL ] [--batch_size BATCH_SIZE ]
133- [--imgSize IMGSIZE ] [--segSize SEGSIZE ] [--num_class NUM_CLASS ]
134- [--ckpt CKPT] [--visualize VISUALIZE] [--result RESULT ]
131+ usage: test.py [-h] --test_img TEST_IMG --model_path MODEL_PATH
132+ [--suffix SUFFIX ] [--result RESULT]
133+ [--arch_encoder ARCH_ENCODER ] [--arch_decoder ARCH_DECODER ]
134+ [--fc_dim FC_DIM ] [--num_class NUM_CLASS ] [--imgSize IMGSIZE ]
135+ [--segSize SEGSIZE ]
135136```
136137
137138## Reference
You can’t perform that action at this time.
0 commit comments