I am running into this error with fastai2, originally posted here and was fixed Windows: RuntimeError: cuda runtime error (801) & RuntimeError: Expected object of scalar type Long but got scalar type
Using Windows
Fastai Version: 0.0.5
Pytorch Version: 1.3.1
Python version: 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Error:
Fixed the issue by using
target = target.long()
Wondering if the data processing pipeline is not automatically converting to long ints (like last time) or an issue on my side.
Thanks