facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.45k stars 925 forks source link

Please read & provide the following information #1254

Open soumyasj opened 2 years ago

soumyasj commented 2 years ago

If you do not know the root cause of the problem, and wish someone to help you, please post according to this template:

Instructions To Reproduce the Issue:

While obtaining frcn features for ocr tokens by running (using detectron_model.yaml and detectron_model.pth from the link "https://dl.fbaipublicfiles.com/pythia/detectron_model/detectron_model.yaml" )

extract_ocr_frcn_feature.py

The following is the error:

File "extract_ocr_frcn_feature.py", line 202, in main() File "extract_ocr_frcn_feature.py", line 174, in main detection_model = load_detection_model(DETECTION_YAML, DETECTION_CKPT) File "extract_ocr_frcn_feature.py", line 26, in load_detection_model cfg.merge_from_file(yaml_file) File "/home2/soumyajahagirdar/miniconda3/envs/mmf/lib/python3.7/site-packages/yacs/config.py", line 213, in merge_from_file self.merge_from_other_cfg(cfg) File "/home2/soumyajahagirdar/miniconda3/envs/mmf/lib/python3.7/site-packages/yacs/config.py", line 217, in merge_from_other_cfg _merge_a_into_b(cfg_other, self, self, []) File "/home2/soumyajahagirdar/miniconda3/envs/mmf/lib/python3.7/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: name'