You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
pytorch 降级到指定版本就好了,或者你在之前定义下np的dtype
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AHR4F4XEUF5DOHSLODG5AS3QBVJRBA5CNFSM4HSAQUOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26Z4AQ#issuecomment-515743234>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHR4F4RSYA5OJUXYQRBY6RTQBVJRBANCNFSM4HSAQUOA>
.
Activity
berton820 commentedon Jul 28, 2019
pytorch 降级到指定版本就好了,或者你在之前定义下np的dtype
assassinjjx commentedon Aug 7, 2019
chenzhengdeeplearning commentedon Oct 5, 2020
请问最后是怎么解决的呢?我试了很多方法都没有成功.我试图打印出来targets,发现其中除了tensor还有整型数字,不知道是不是因为这个数字才报的此错误.如果方便的话,能麻烦您把改后的代码发一下吗?十分感谢