Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@stonessss yes, i write test code. #217

Open
ouyang11111 opened this issue Oct 19, 2021 · 1 comment
Open

@stonessss yes, i write test code. #217

ouyang11111 opened this issue Oct 19, 2021 · 1 comment

Comments

@ouyang11111
Copy link

@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 #122 (comment)

@liushuang1001
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants