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

'Non-existent config key: MODEL.MASKIOU_ON' #4

Open
zyl1336110861 opened this issue Nov 3, 2021 · 0 comments
Open

'Non-existent config key: MODEL.MASKIOU_ON' #4

zyl1336110861 opened this issue Nov 3, 2021 · 0 comments

Comments

@zyl1336110861
Copy link

zyl1336110861 commented Nov 3, 2021

Hi, thank you for your sharing. When I ran your project, I came across the following problem:
`(GAISNET) lthpc@lthpc:~/Projects/detections/GAIS-Net$ CUDA_VISIBLE_DEVICES=9,3,0,1 python -m torch.distributed.launch --nproc_per_node=1 ./tools/test_net.py --config-file "configs/cityscapes_v4.yaml" TEST.IMS_PER_BATCH 1

Traceback (most recent call last):
File "./tools/test_net.py", line 109, in
main()
File "./tools/test_net.py", line 56, in main
cfg.merge_from_file(args.config_file)
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/yacs-0.1.8-py3.7.egg/yacs/config.py", line 213, in merge_from_file
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/yacs-0.1.8-py3.7.egg/yacs/config.py", line 217, in merge_from_other_cfg
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/yacs-0.1.8-py3.7.egg/yacs/config.py", line 478, in _merge_a_into_b
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/yacs-0.1.8-py3.7.egg/yacs/config.py", line 491, in _merge_a_into_b
KeyError: 'Non-existent config key: MODEL.MASKIOU_ON'
Traceback (most recent call last):
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/torch/distributed/launch.py", line 246, in
main()
File "/opt/anaconda3/envs/GAISNET/lib/python3.7/site-packages/torch/distributed/launch.py", line 242, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/GAISNET/bin/python', '-u', './tools/test_net.py', '--local_rank=0', '--config-file', 'configs/cityscapes_v4.yaml', 'TEST.IMS_PER_BATCH', '1']' returned non-zero exit status 1.
`

Do you know the reason of that? Thank you very much!

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