您当前的位置: 首页 > 

静静喜欢大白

暂无认证

  • 1浏览

    0关注

    521博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0

静静喜欢大白 发布时间:2021-01-10 15:58:54 ,浏览量:1

这个错误其实我没真正的搞明白

最开始我的执行命令是

python3 entity_classify_mb.py -d aifb --testing --gpu 0 --fanout=8

报错后我改成了,成功

 python3 entity_classify_mb.py -d aifb --testing  --fanout=8

同时发现一些不错的文章

https://blog.csdn.net/qq_39852676/article/details/105607849

https://stackoverflow.com/questions/63846816/runtimeerror-expected-all-tensors-to-be-on-the-same-device-but-found-at-least

关注
打赏
1510642601
查看更多评论
立即登录/注册

微信扫码登录

0.0367s