随笔分类 - 机器视觉问题解决
摘要:module 'torchvision' has no attribute 'ops' 问题: torch与torchvision版本不兼容,先卸载原来版本: pip uninstall torch pip uninstall torchvision 解决方法 pip install torch==
阅读全文
摘要:一、 报错信息(类似) 二、 步骤 方法1 __init__文件内加代码(主要那三行) import PySide2 dirname = os.path.dirname(PySide2.__file__) plugin_path = os.path.join(dirname, 'plugins',
阅读全文