Joseph-Winkle

Results 1 issues of Joseph-Winkle

我在租的服务器上跑的时候遇到了“RuntimeError: expected device cuda:0 and dtype Float but got device cuda:0 and dtype Long”这个错误, torch是1.2.0版本的,网上说是因为版本太低,也可以通过更改数据类型解决, 我是把onehot替换为onehot.float()之后就解决了。