pytorch-deeplab-xception icon indicating copy to clipboard operation
pytorch-deeplab-xception copied to clipboard

@stonessss yes, i write test code.

Open ouyang11111 opened this issue 3 years ago • 1 comments

@stonessss yes, i write test code.

  1. copy and overwrite. https://github.com/jaemin93/pytorch-deeplab-xception/blob/master/test.py https://github.com/jaemin93/pytorch-deeplab-xception/blob/master/dataloaders/init.py

  2. add test.txt(you want to test img id) in VOC path /ImageSets/Segmentation test.txt is like val, train.txt

  3. cmd python --test
    --dataset pascal
    --backbone xception
    --out_stride 16
    --crop_size 513
    --model /your/checkpoint.pth.tar --save_path /prediction/image/path

Originally posted by @jaemin93 in https://github.com/jfzhang95/pytorch-deeplab-xception/issues/122#issuecomment-540287499

ouyang11111 avatar Oct 19 '21 08:10 ouyang11111

您好 您提供的测试代码链接现无法打开,能否麻烦您再重新分享一下?拜托!!

liushuang1001 avatar Jan 20 '22 11:01 liushuang1001