程序报错解决
文章平均质量分 52
winnie爱学习
这个作者很懒,什么都没留下…
展开
-
Ubuntu apt-get update报错E: Failed to fetch cdrom://Ubuntu 16.04.6 LTS _Xenial Xerus_ - Release amd64
E: Failed to fetch cdrom://Ubuntu 16.04.6 LTS _Xenial Xerus_ - Release amd64 (20190227)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMsE: Some index file原创 2020-11-25 18:11:41 · 2834 阅读 · 1 评论 -
win10下安装pytorch报错InvalidArchiveError(‘Error with archive D:\\anaconda\\pkgs\\pytorch-1.2.0-py3.6····
warning conda.gateways.disk.delete:unlink_or_rename_to_trash(139): could not remove or rename d:\anaconda\pkgs\pytorch-1.2.0-py3.6_cuda100_cudnn7_1\lib\site-packages\torch\lib\torch.dll. please remove this file manually原创 2020-08-29 10:14:59 · 30656 阅读 · 24 评论 -
安装gpu版pytorch时报错Collecting package metadata (current_repodata.json): failed
解决办法:退出虚拟环境 conda deactivate 再重新进入虚拟环境 conda activate pytorch原创 2020-08-28 16:48:37 · 3322 阅读 · 2 评论 -
Expected tensor for argument #1 ‘indices’ to have scalar type Long;but got torch.IntTensor instead
Expected tensor for argument #1 ‘indices’ to have scalar type Long;but got torch.IntTensor instead训练的批量样本数据输入值需要是long值的Tensor数据,而不是int值的Tensor数据.原创 2020-08-18 16:41:29 · 11702 阅读 · 0 评论