|
发表于 2023-10-21 23:24:19
|
显示全部楼层
本帖最后由 omesa 于 2023-10-21 23:25 编辑
若兄求教一下啊,我也想更新,结果第一次用
.\_internal\Python37\python.exe -mpip install torch==1.13.1 cu117 torchvision==0.14.1 cu117 --extra-index-url https://download.pytorch.org/whl/cu117
执行后下载到百分之七八十左右就没下载数据被远程主机停止了,
T:\GPEN_GFPGAN_CodeFormer>.\_internal\Python37\python.exe -mpip install torch==1.13.1 cu117 torchvision==0.14.1 cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1
Downloading https://download.pytorch.org/whl ... cp37m-win_amd64.whl (2255.6 MB)
|████████████████████████████████| 2255.6 MB 1.3 kB/s
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/cu117/
ERROR: Could not find a version that satisfies the requirement cu117 (from versions: none)
ERROR: No matching distribution found for cu117
WARNING: You are using pip version 21.3.1; however, version 23.3.1 is available.
You should consider upgrading via the 'T:\GPEN_GFPGAN_CodeFormer\_internal\Python37\python.exe -m pip install --upgrade pip' command.
现在想继续下载,但是提示错误运行不了了。(我在1.13.1+u117 之间加了加号也不行)
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+u117 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.0+cu117, 1.13.1, 1.13.1+cu117)
ERROR: No matching distribution found for torch==1.13.1+u117
WARNING: You are using pip version 21.3.1; however, version 23.3.1 is available.
You should consider upgrading via the 'T:\GPEN_GFPGAN_CodeFormer\_internal\Python37\python.exe -m pip install --upgrade pip' command.
|
|