We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System information
Describe the current behavior 在torch >= 2.0的环境中运行faster-RCNN等其他分支中运行coco_eval.py的会出现以下错误:
ModuleNotFoundError: No module named 'torch._six'
可以将coco_eval.py文件中 Line245 if isinstance(resFile, torch._six.string_classes): 修改为if isinstance(resFile, str): 即可避免使用'torch._six'模块
if isinstance(resFile, torch._six.string_classes):
if isinstance(resFile, str):
参考链接:https://blog.csdn.net/m0_72676510/article/details/134068860 https://www.cnblogs.com/emanlee/p/17658162.html (我认为这里降级torch并不是个好方法)
Error info / logs ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered:
Y老师在深度学习给了我非常大的帮助,这是我第一次提交issue,希望能有用
Sorry, something went wrong.
确实是的,谢谢。等有空了再重新适配下
No branches or pull requests
System information
Describe the current behavior
在torch >= 2.0的环境中运行faster-RCNN等其他分支中运行coco_eval.py的会出现以下错误:
ModuleNotFoundError: No module named 'torch._six'
可以将coco_eval.py文件中
Line245
if isinstance(resFile, torch._six.string_classes):
修改为
if isinstance(resFile, str):
即可避免使用'torch._six'模块
参考链接:https://blog.csdn.net/m0_72676510/article/details/134068860
https://www.cnblogs.com/emanlee/p/17658162.html (我认为这里降级torch并不是个好方法)
Error info / logs
ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered: