megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

--opts KeyError: 'Non-existent config key: MODEL.WETGHTS' #65

Open MrCrightH opened 1 year ago

MrCrightH commented 1 year ago

Traceback (most recent call last): File "tools/train_net.py", line 124, in launch( File "/home/sjk/mrch/FSCE/fsdet/engine/launch.py", line 52, in launch main_func(*args) File "tools/train_net.py", line 100, in main cfg = setup(args) File "tools/train_net.py", line 91, in setup cfg.merge_from_file(args.config_file) File "/home/sjk/mrch/FSCE/fsdet/config/config.py", line 46, in merge_from_file self.merge_from_other_cfg(loaded_cfg) File "/home/sjk/anaconda3/envs/chpy/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 "/home/sjk/anaconda3/envs/chpy/lib/python3.8/site-packages/yacs/config.py", line 217, in merge_from_other_cfg _merge_a_into_b(cfg_other, self, self, []) File "/home/sjk/anaconda3/envs/chpy/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 "/home/sjk/anaconda3/envs/chpy/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.WETGHTS'