“RuntimeError: expected scalar type Long but found Float” in the forward process

后端 未结 0 1492
轮回少年
轮回少年 2020-12-12 01:23

I\'m trying to create a model with PyTorch but during the forward, I encounter this issue "RuntimeError: expected scalar type Long but found Float".

Source

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