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
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match.
#26
Open
liujiaoshou17 opened this issue
May 26, 2023
· 1 comment
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match.
使用预训练模型为imagenet时会报错,其他预训练模型就可以
The text was updated successfully, but these errors were encountered:
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match.
使用预训练模型为imagenet时会报错,其他预训练模型就可以
The text was updated successfully, but these errors were encountered: