Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update 16_tensorboard.py #13

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

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Conversation

preyasgarg
Copy link
Contributor

model was on graphic card and example_data was on cpu so was throwing error

model was on graphic card and example_data was on cpu so was throwing error
@saeedahmadicp
Copy link

so, it's easy either transfer the example data to GPU using .to(device) function or transfer the model to CPU, to remove the conflict and resolve the issue.

Copy link
Owner

@patrickloeber patrickloeber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@patrickloeber patrickloeber merged commit 6963772 into patrickloeber:master Jan 5, 2023
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

Successfully merging this pull request may close these issues.

3 participants