update test tutorial: --eval-options instead of --options to set extra options (#251)

This commit is contained in:
Jinkun Cao 2020-11-16 17:32:53 +08:00 committed by GitHub
parent 300f42d006
commit c2608b212a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,7 +252,7 @@ Assume that you have already downloaded the checkpoints to the directory `checkp
```shell ```shell
./tools/dist_test.sh configs/pspnet/pspnet_r50-d8_512x1024_40k_cityscapes.py \ ./tools/dist_test.sh configs/pspnet/pspnet_r50-d8_512x1024_40k_cityscapes.py \
checkpoints/pspnet_r50-d8_512x1024_40k_cityscapes_20200605_003338-2966598c.pth \ checkpoints/pspnet_r50-d8_512x1024_40k_cityscapes_20200605_003338-2966598c.pth \
4 --format-only --options "imgfile_prefix=./pspnet_test_results" 4 --format-only --eval-options "imgfile_prefix=./pspnet_test_results"
``` ```
You will get png files under `./pspnet_test_results` directory. You will get png files under `./pspnet_test_results` directory.