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

inference #16

Closed
SuzannaLin opened this issue Oct 2, 2020 · 4 comments
Closed

inference #16

SuzannaLin opened this issue Oct 2, 2020 · 4 comments

Comments

@SuzannaLin
Copy link
Contributor

Thank you so far for all the help!

I am now trying to run inference.py on VOC12 images with a semi-supervised trained model.
I filled in the arguments in the script:
image

I have two errors:
image
It includes all the aux. decoders (weight and bias).
and:
image

Is the first exception an issue for the code?
How do I go about the second error?

@SuzannaLin
Copy link
Contributor Author

I figured out that for inference, I don't actually need all the aux.decoders, so I just removed them from the dictionary. However, the args.save still gives me issues:

AttributeError: 'Namespace' object has no attribute 'save'

@SuzannaLin
Copy link
Contributor Author

I just added
image

The script runs now without errors, but also without results. The "outputs" dir is created, but empty.

image

@SuzannaLin
Copy link
Contributor Author

Never mind, what a mistake I made!
I spelled the images folder wrong! >.<

I have outputs now!

@yassouali
Copy link
Owner

Hi @SuzannaLin

Sorry for the delay.

Thank you for pointing out the errors, I just pushed the corrections.

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