mmdetection: TypeError: FormatCode() got an unexpected keyword argument 'verify'
I get TypeError: FormatCode() got an unexpected keyword argument 'verify' when I try to download the config files for any model.
This error occurs since the latest release of yapf v0.40.2, which was released on September 22, 2023.
I am currently able to bypass this error by running pip install yapf==0.40.1.
Please fix this bug.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 121
- Comments: 19
Commits related to this issue
- yapf==0.40.1 to fix "TypeError: FormatCode() got an unexpected keyword argument 'verify'" (see https://github.com/open-mmlab/mmdetection/issues/10962) — committed to waikato-datamining/mmclassification by fracpete 8 months ago
- Solve https://github.com/open-mmlab/mmdetection/issues/10962 — committed to wboschmann/Sparse4D by wboschmann 6 months ago
Same issue, and
pip install yapf==0.40.1bybass it, thanks OP