Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

how to run test.py? #214

Open
vkes2541 opened this issue Jun 3, 2019 · 3 comments
Open

how to run test.py? #214

vkes2541 opened this issue Jun 3, 2019 · 3 comments

Comments

@vkes2541
Copy link

vkes2541 commented Jun 3, 2019

hello i'm korean student.

yesterday i tried to run train.py and latest_model_DeepLabV3_CamVid.ckpt was made.
and to try to run test.py, i tried this command "python test.py --models DeepLabV3 --checkpoint_path checkpoints/latest_model_DeepLabV3_CamVid.ckpt. but i got this error "subprocess.CalledProcessError: Command '['python', 'utils/get_pretrained_checkpoints.py', '--model=ResNet101']' returned non-zero exit statutus 1."

i saw the issues related to this error. as the answer to this error, see the FAQ in issues template.
please let me know about this FAQ and how to run this code.

i'm sorry that my english level is low. please help me.

@grbagwe
Copy link

grbagwe commented Jun 17, 2019

Run this (Also make sure that your crop size is correct):
python test.py --models DeepLabV3 --checkpoint_path checkpoints/latest_model_DeepLabV3_CamVid/.ckpt

@INJNainggolan
Copy link

Hi,could you deal this question? My premodel is resnet_50, and the model is BiSeNet, When I run train.py, it operate normally, but when I run test.py and predict.py, it download premodel resnet_101,why?

@liu-zg15
Copy link

liu-zg15 commented Jun 1, 2020

Hi,could you deal this question? My premodel is resnet_50, and the model is BiSeNet, When I run train.py, it operate normally, but when I run test.py and predict.py, it download premodel resnet_101,why?

Please revise the default pre-trained model in model_builder.

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

No branches or pull requests

4 participants