youngwanLEE / centermask2

[CVPR 2020] CenterMask : Real-time Anchor-Free Instance Segmentation
Other
772 stars 159 forks source link

FCOS #100

Open Adam1904 opened 1 year ago

Adam1904 commented 1 year ago

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'