Download 如何解决eta 0:00:01死亡?
我正在下载火炬,99%的下载完成后,我得到了这个错误。 我使用的是Ubuntu,在8gb内存系统上 内存分配Download 如何解决eta 0:00:01死亡?,download,pip,pytorch,torch,eta,Download,Pip,Pytorch,Torch,Eta,我正在下载火炬,99%的下载完成后,我得到了这个错误。 我使用的是Ubuntu,在8gb内存系统上 内存分配 ankita@ankita-HP-Laptop-15-bs0xx:~$ free -h total used free shared buff/cache available Mem: 7.7G 2.0G 1.6G 495M 4.1G
ankita@ankita-HP-Laptop-15-bs0xx:~$ free -h
total used free shared buff/cache available
Mem: 7.7G 2.0G 1.6G 495M 4.1G 5.0G
Swap: 0B 0B 0B
由于缺少RAM,我也遇到了这个问题。您可以尝试增加交换空间。试试上面提到的方法
最好的解决方案是使用
conda
安装pytorch,而不是pip
。这样您就不会遇到内存错误 正如你可能猜到的——你的内存不足了——也许试着关闭chrome?但这已经连续发生了4次了。但让我也尝试一下:/这没有帮助,同样的错误再次弹出,没有后台进程一起运行。请尝试使用其他工具下载,例如wgethttps://files.pythonhosted.org/packages/46/ca/306bb933a68b888ab1c20ede0342506b85857635f04fb55a56e53065579b/torch-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl
,然后通过pip install torch从磁盘安装-查找链接。
当通过conda安装相同的软件包时,它会显示“PackagesNotFoundError”使用conda install pytorch torchvision cudatoolkit=10.1-c pytorch
对于gpu和conda install pytorch torchvision cpuonly-c pytorch
对于cpu,请检查来自的命令。