Skip to content

Conversation

aaronrmm
Copy link

In cell 9 the predict method is called without passing the device, and the default is "gpu". This causes the notebook to fail if in a CPU runtime.

The fix is simply to pass in the device that was declared earlier in notebook.

Note: I only tested the changes with a CPU runtime because I can't run predict at all on the free tiers of colab GPU runtimes.

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.

2 participants