Skip to content

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

@zyl1336110861

Description

@zyl1336110861

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions