This error is usually caused by the version of mmcv
just click in one by one according to the following error prompt to find utils.py file:
change the code in the circle below:
add in brackets:
finally, it can run successfully.
Similar questions:
keyerror: ‘XXX is already registered in xxx’
Results: it runs perfectly
Read More:
- [Solved] os.py“, line 725, in __getitem__ raise KeyError(key) from None KeyError: ‘PATH‘
- [Solved] Keras Error: KeyError: ‘accuracy‘, KeyError: ‘val_acc‘, KeyError: ‘acc‘
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- Commit failed – exit code 1 received, with output: ‘>running pre-commit hook: npm run precommit (Fixed)
- [Solved] Message from debugger: debug-server is x86_64 binary running in translation, attached failed.
- flask init-db Error: Error: Could not locate a Flask application. Use the ‘flask –app’ option, ‘FLASK_APP’ environment variable, or a ‘wsgi.py’ or ‘app.py’ file in the current directory.
- [Solved] Error running Tomcat8: Address localhost:8080 is already in use
- [Solved] mmdetection yolox Error: find_unused_parameters
- [Solved] Error running tomcat8: Address localhost:80 is already in use
- Python3: Str.format Keyerror Solution for incoming parameter error
- Redis Exception | DENIED Redis is running in protected mode because protected mode is enabled
- [Solved] PYNQ load bit error: KeyError: ‘interrupts‘
- [Solved] Feign Error: -‘oauth-client.FeignClientSpecification‘ could not be registered
- [Solved] Pip install icu failed: Command “python setup.py egg_info” failed with error code 1 in
- result = e.symbols[symb] KeyError: b‘system‘ [How to Solve]
- [Solved] panic: proto: duplicate enum registered: raftpb.EntryType
- Start Docker Quickstart Terminal error This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- How to Fix KeyError: ‘plotly_domain’
- [Solved] cnpm: Cannot load the file C:\Users\Raytine\AppData\Roaming\npm\cnpm.ps1 because running scripts is prohibited on this system