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

FCOS #100

Open
Adam1904 opened this issue Mar 15, 2023 · 0 comments
Open

FCOS #100

Adam1904 opened this issue Mar 15, 2023 · 0 comments

Comments

@Adam1904
Copy link

Adam1904 commented Mar 15, 2023

When I implement my own dataset in CenterMask2, I encounter a problem with FCOS.

▶ python train_net_f.py --config-file "configs/centermask/Base-CenterMask-ResNet.yaml" --num-gpus 0
Command Line Args: Namespace(config_file='configs/centermask/nuImages.yaml', dist_url='tcp://127.0.0.1:49152', eval_only=False, machine_rank=0, num_gpus=0, num_machines=1, opts=[], resume=False)
Traceback (most recent call last):
File "train_net_f.py", line 177, in
launch(
File "/workspace/detectron2/detectron2/engine/launch.py", line 84, in launch
main_func(*args)
File "train_net_f.py", line 125, in main
cfg = setup(args)
File "train_net_f.py", line 117, in setup
cfg.merge_from_file(args.config_file)
File "/workspace/detectron2/detectron2/config/config.py", line 69, in merge_from_file
self.merge_from_other_cfg(loaded_cfg)
File "/opt/conda/lib/python3.8/site-packages/fvcore/common/config.py", line 132, in merge_from_other_cfg
return super().merge_from_other_cfg(cfg_other)
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 217, in merge_from_other_cfg
_merge_a_into_b(cfg_other, self, self, [])
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 478, in _merge_a_into_b
_merge_a_into_b(v, b[k], root, key_list + [k])
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 491, in _merge_a_into_b
raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: MODEL.FCOS'

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