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

Specific use of cuda model not allowing cpu compute #7

Open
Phlair opened this issue Mar 18, 2021 · 0 comments
Open

Specific use of cuda model not allowing cpu compute #7

Phlair opened this issue Mar 18, 2021 · 0 comments

Comments

@Phlair
Copy link
Collaborator

Phlair commented Mar 18, 2021

this line of code (line 71 of pipeline_cnn.py as of commit 6f1968a):
best_model = torch.hub.load_state_dict_from_url('https://docs.google.com/uc?export=download&id=13CLZoNyvCt2K46UvAyHUqH7099FbnBh_')

errors on _cuda_deserialize.

Assuming that this model specifically is cuda-based and therefore cannot be deserialised for cpu computation.

Should the model be ensured to work across both CUDA and CPU compute?

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

1 participant