mmrotate
mmrotate copied to clipboard
启动训练报错 ModuleNotFoundError: No module named 'mmdet'[Bug]
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the FAQ documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version (master) or latest version (1.x).
Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
1.x branch https://github.com/open-mmlab/mmrotate/tree/1.x
Environment
packages in environment at D:\miniconda3\envs\mmrotate_1.x:
Name Version Build Channel
absl-py 2.1.0 pypi_0 pypi
addict 2.4.0 pypi_0 pypi
ca-certificates 2023.12.12 haa95532_0
cachetools 5.3.2 pypi_0 pypi
certifi 2024.2.2 pypi_0 pypi
charset-normalizer 3.3.2 pypi_0 pypi
click 8.1.7 pypi_0 pypi
colorama 0.4.6 pypi_0 pypi
contourpy 1.1.1 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
fonttools 4.49.0 pypi_0 pypi
future 0.18.3 pypi_0 pypi
google-auth 2.28.0 pypi_0 pypi
google-auth-oauthlib 1.0.0 pypi_0 pypi
grpcio 1.60.1 pypi_0 pypi
idna 3.6 pypi_0 pypi
importlib-metadata 7.0.1 pypi_0 pypi
importlib-resources 6.1.1 pypi_0 pypi
kiwisolver 1.4.5 pypi_0 pypi
markdown 3.5.2 pypi_0 pypi
markdown-it-py 3.0.0 pypi_0 pypi
markupsafe 2.1.5 pypi_0 pypi
matplotlib 3.7.5 pypi_0 pypi
mdurl 0.1.2 pypi_0 pypi
mmcv 2.0.0 pypi_0 pypi
mmdet 3.1.0 pypi_0 pypi
mmengine 0.7.2 pypi_0 pypi
mmrotate 1.0.0rc1 dev_0
Reproduces the problem - code sample
(mmrotate_1.x) D:\FLAI\mmrotate>python tools\train.py plugins\configs\rotated_rtmdet_s_300e_FL_dota.py
Traceback (most recent call last):
File "D:\FLAI\mmrotate\tools\train.py", line 7, in
Reproduces the problem - command or script
(mmrotate_1.x) D:\FLAI\mmrotate>python tools\train.py plugins\configs\rotated_rtmdet_s_300e_FL_dota.py
Traceback (most recent call last):
File "D:\FLAI\mmrotate\tools\train.py", line 7, in
Reproduces the problem - error message
(mmrotate_1.x) D:\FLAI\mmrotate>python tools\train.py plugins\configs\rotated_rtmdet_s_300e_FL_dota.py
Traceback (most recent call last):
File "D:\FLAI\mmrotate\tools\train.py", line 7, in
Additional information
这个到底是怎么引起的,以前一直可以正常运行,突然就报错了
maybe you have a version mismatch problem and you should make sure their versions meet the following requirements