RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same. Using CNN for the project

前端 未结 0 1008
生来不讨喜
生来不讨喜 2021-02-10 23:11

I am trying to run my CNN model but keep getting the same error with cuda(), and not sure on how to fix it by myself... the code below is the code I use. I am using the dataset

相关标签:
回答
  • 消灭零回复
提交回复
热议问题