You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In section 1.1. Install key dependencies the requested versions for torch (1.5.1) and torchvision (0.6.1) are not found, so I installed the packages without version requirement (ended up with torch 2.1.2 and torchvision 0.16.2).
In section 4.2. Start Training I got following error:
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
I guess it might be related to the different torch version...
Everything else was running as expected (skipped sections 3.2 and 3.3).
The text was updated successfully, but these errors were encountered:
Still, with torch 2.1.2 and torchvision 0.16.2, it should work. Where are you running the notebook? If it is in Colab, could you please check if a GPU is available in your session?
In section 1.1. Install key dependencies the requested versions for torch (1.5.1) and torchvision (0.6.1) are not found, so I installed the packages without version requirement (ended up with torch 2.1.2 and torchvision 0.16.2).
In section 4.2. Start Training I got following error:
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
I guess it might be related to the different torch version...
Everything else was running as expected (skipped sections 3.2 and 3.3).
The text was updated successfully, but these errors were encountered: