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

train #40

Open
Lixia1221 opened this issue Apr 29, 2022 · 0 comments
Open

train #40

Lixia1221 opened this issue Apr 29, 2022 · 0 comments

Comments

@Lixia1221
Copy link

(open-mmlab) fsr@ServerE1:~/code/RepPoints-master$ ./mmdetection/tools/dist_train.sh ./configs/reppoints_moment_r50_fpn_1x.py 2 --validate


Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.


Traceback (most recent call last):
File "./mmdetection/tools/train.py", line 108, in
main()
File "./mmdetection/tools/train.py", line 84, in main
cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/models/builder.py", line 43, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/models/builder.py", line 15, in build
return build_from_cfg(cfg, registry, default_args)
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/utils/registry.py", line 67, in build_from_cfg
obj_type, registry.name))
KeyError: 'None is not in the detector registry'
Traceback (most recent call last):
File "./mmdetection/tools/train.py", line 108, in
main()
File "./mmdetection/tools/train.py", line 84, in main
cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/models/builder.py", line 43, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/models/builder.py", line 15, in build
return build_from_cfg(cfg, registry, default_args)
File "/home/fsr/code/RepPoints-master/mmdetection/mmdet/utils/registry.py", line 67, in build_from_cfg
obj_type, registry.name))
KeyError: 'None is not in the detector registry'
Killing subprocess 3816
Killing subprocess 3817
Traceback (most recent call last):
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/distributed/launch.py", line 340, in
main()
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/distributed/launch.py", line 326, in main
sigkill_handler(signal.SIGTERM, None) # not coming back
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler
raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/laocheng/anaconda3/envs/open-mmlab/bin/python', '-u', './mmdetection/tools/train.py', '--local_rank=1', './configs/reppoints_moment_r50_fpn_1x.py', '--launcher', 'pytorch', '--validate']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant