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

SCCORAL.get_latent_representation() requires module to be on CPU #7

Open
lucas-diedrich opened this issue Apr 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lucas-diedrich
Copy link
Owner

Report

Model raises error when it was trained on GPU and model.get_latent_representation() is called

Version information

No response

@lucas-diedrich lucas-diedrich added the bug Something isn't working label Apr 5, 2024
@lucas-diedrich
Copy link
Owner Author

Quick fix

# All pytorch modules to cpu
model.module.cpu()
model.get_latent_representation()

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