Skip to content
New issue

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

环境问题 #10

Closed
wanghangege opened this issue Apr 24, 2021 · 2 comments
Closed

环境问题 #10

wanghangege opened this issue Apr 24, 2021 · 2 comments
Labels
package error Error from external package

Comments

@wanghangege
Copy link

Traceback (most recent call last):
File "./tools/train.py", line 15, in
from mmdet import version
File "/media/ubun/CC7251E47251D3B4/yoloseries/miaodxray/MI-AOD/mmdet/init.py", line 25, in
f'MMCV=={mmcv.version} is used but incompatible. '
AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.
Traceback (most recent call last):
File "/home/ubun/anaconda3/envs/pytorch12/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/ubun/anaconda3/envs/pytorch12/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ubun/anaconda3/envs/pytorch12/lib/python3.6/site-packages/torch/distributed/launch.py", line 340, in
main()
File "/home/ubun/anaconda3/envs/pytorch12/lib/python3.6/site-packages/torch/distributed/launch.py", line 326, in main
sigkill_handler(signal.SIGTERM, None) # not coming back
File "/home/ubun/anaconda3/envs/pytorch12/lib/python3.6/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler
raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/ubun/anaconda3/envs/pytorch12/bin/python', '-u', './tools/train.py', '--local_rank=0', 'configs/MIAOD.py', '--launcher', 'pytorch']' returned non-zero exit status 1.
Killing subprocess 41043

@wanghangege
Copy link
Author

subprocess.CalledProcessError: Command '['/home/ubun/anaconda3/envs/miaod/bin/python', '-u', './tools/train.py', '--local_rank=0', 'configs/MIAOD.py', '--launcher', 'pytorch']' died with <Signals.SIGSEGV: 11>.

@yuantn
Copy link
Owner

yuantn commented Apr 24, 2021

请看一下你输出日志的第 6 行:

AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.

你应该重新安装一下 mmcv==1.0.5 (或者 mmcv-full==1.0.5 )。


Please see the Line 6 in your log:

AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.

You are proposed to reinstall mmcv==1.0.5 (or mmcv-full==1.0.5).

@yuantn yuantn added the package error Error from external package label Apr 25, 2021
@yuantn yuantn closed this as completed May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package error Error from external package
Projects
None yet
Development

No branches or pull requests

2 participants