В документации Torch указано использование
pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
чтобы установить последнюю версию PyTorch. Это работает, когда я делаю это вручную, но когда я добавляю его в req.txt и выполняю pip install -r req.txt, происходит сбой и появляется сообщение ОШИБКА: нет соответствующего дистрибутива.
Редактирование: добавление сюда всей строки из req.txt и ошибки.
torch==1.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_ ... =1.4.0+cpu
ERROR: Could not find a version that satisfies the requirement torch==1.4.0+cpu (from -r requirements.txt (line 1)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.3.1, 0.4.0, 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0)
ERROR: No matching distribution found for torch==1.4.0+cpu (from -r requirements.txt (line 1))
Подробнее здесь: https://stackoverflow.com/questions/609 ... ements-txt
Установите PyTorch из файла require.txt. ⇐ Python
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Heroku не устанавливает пакеты при развертывании из файла require.txt [дубликат]
Anonymous » » в форуме Python - 0 Ответы
- 26 Просмотры
-
Последнее сообщение Anonymous
-