RuntimeError: expected device cuda:2 and dtype Float but got device cuda:2 and dtype Long
penghui-pwld-two opened this issue · 1 comments
penghui-pwld-two commented
您好,很感谢您分享的程序,我(小白)在运行的时候出现如下错误,请问如何解决:
RuntimeError: expected device cuda:2 and dtype Float but got device cuda:2 and dtype Long
非常感谢您!
z814081807 commented
您好,很感谢您分享的程序,我(小白)在运行的时候出现如下错误,请问如何解决:
RuntimeError: expected device cuda:2 and dtype Float but got device cuda:2 and dtype Long非常感谢您!
pytorch 版本问题应该