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

Eyeballer cannot be used offline without a code change #55

Open
bfgstroy opened this issue Dec 13, 2019 · 0 comments
Open

Eyeballer cannot be used offline without a code change #55

bfgstroy opened this issue Dec 13, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@bfgstroy
Copy link
Contributor

Description of Bug

During initial construction of the Eyeballer model, the Imagenet weights are downloaded from the internet. This is performed even when using the pretrained weights from Eyeballer. The need for Imagenet to be downloaded prevents Eyeballer from being usable offline.

What should the expected behavior be

Imagenet weights should only be downloaded when training a new model and not when used with the "predict" flag.

This can be resolved by setting the weights during initial construction to "None" instead of "Imagenet" in the model.py file.

Steps to Reproduce

Delete the cache of Imagenet. Disable internet connectivity and perform a prediction with Eyeballer using the pretrained weights.

Additional context

Eyeballer was used on an internal assessment by someone unfamiliar with the code base. This bug report was requested by them.

@bfgstroy bfgstroy added the bug Something isn't working label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant