capturable=False 怎么办?总结的一些办法。
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
①先卸载pytorch cmd运行 pip uninstall torch
②修改对应的torchvision、torchaudio版本(见下两图)


③安装指令:pip install torchvision==0.10.0 和 pip install torchaudio==0.9.0
④去https://download.pytorch.org/whl/torch_stable.html网站,找到并下载cu111/torchvision-0.9.0%2Bcu111-cp39-cp39-win_amd64.whl此文件。
⑤在下载目录运行cmd,安装指令: pip install torch-1.9.0+cu111-cp39-cp39-win_amd64.whl
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the capturable=False problem with the listed PyTorch, torchvision, torchaudio, CUDA, and Python versions, then compare the result with the provided installation workaround; done means the failure is reproduced and the supported dependency combination or required project change is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100