使用torch训练REAL-ESRGAN时遇到
系统弹窗提示:
python找不到程序入口
无法定位程序输入点
??SaddTypeMetaData@PEAUHalf@c10@@@TypeMeta@caffe2
@@CAGXZ于动态链接库
C:\ProgramData\anaconda3\envs\py37 gan\lib\site-packages\t
orchvision\image.pyd E.
pycharm提示:
Failed to load image Python extension: [WinError 127] 找不到指定的程序。 warn(f"Failed to load image Python extension: {e}")
可能是torchvision版本不对,重装。这里用的是python3.7,torch1.12.1,安装
pip install torchvision==0.13.1
安装之后不再报该错误。
- extension Failed Python image loadextension failed python image extensions recursion detected loading chrome-extension err_failed extension错误 extensions fetching vscode failed loading failed chunk err_failed resource failed load integrity failed image check extension pytorch环境failed load devtools content failed importing imaging failed while