mmdetection 报错 TypeError: FormatCode() got an unexpected keyword argument ‘verify‘

在mmdetection上训练faster rcnn报错

TypeError: FormatCode() got an unexpected keyword argument 'verify'

原因: yapf版本过高,目前版本为 0.40.2

解决方法:重装低版本yapf即可

pip uninstall yapf
pip install yapf==0.40.1

参考:MMdetection遇到问题:FormatCode() got an unexpected keyword argument ‘verify‘-CSDN博客

猜你喜欢

转载自blog.csdn.net/ZZZZ_Y_/article/details/133902230
今日推荐