facebookresearch / maskrcnn-benchmark

Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.
MIT License
9.3k stars 2.49k forks source link

KeyError: 'Non-existent config key: SOLVER.TEST_PERIOD' #1284

Open zyqlalala opened 3 years ago

zyqlalala commented 3 years ago

❓ Questions and Help

When I run the model I trained, the error is as follows: File "/home/shuai/.conda/envs/PyTorch10/lib/python3.6/site-packages/yacs/config.py", line 213, in merge_from_file self.merge_from_other_cfg(cfg) File "/home/shuai/.conda/envs/PyTorch10/lib/python3.6/site-packages/yacs/config.py", line 217, in merge_from_other_cfg _merge_a_into_b(cfg_other, self, self, []) File "/home/shuai/.conda/envs/PyTorch10/lib/python3.6/site-packages/yacs/config.py", line 460, in _merge_a_into_b _merge_a_into_b(v, b[k], root, key_list + [k]) File "/home/shuai/.conda/envs/PyTorch10/lib/python3.6/site-packages/yacs/config.py", line 473, in _merge_a_into_b raise KeyError("Non-existent config key: {}".format(full_key)) KeyError: 'Non-existent config key: SOLVER.TEST_PERIOD' I don't know how to change maskrcnn_benchamrk/config/defaults.py

okluckychen commented 3 years ago

@zyqlalala excuse me,have you solved this problem?thanks~~

deepaksinghcv commented 3 years ago

Still waiting for the solution.

EstherMalam commented 2 years ago

Is there a solution? thanks!