随笔分类 -  机器视觉问题解决

摘要:module 'torchvision' has no attribute 'ops' 问题: torch与torchvision版本不兼容,先卸载原来版本: pip uninstall torch pip uninstall torchvision 解决方法 pip install torch== 阅读全文
posted @ 2022-04-14 16:32 Trouvaille_fighting 阅读(1252) 评论(0) 推荐(0) 编辑
摘要:一、 报错信息(类似) 二、 步骤 方法1 __init__文件内加代码(主要那三行) import PySide2 dirname = os.path.dirname(PySide2.__file__) plugin_path = os.path.join(dirname, 'plugins', 阅读全文
posted @ 2022-03-16 23:20 Trouvaille_fighting 阅读(719) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示