Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS
See original GitHub issueI followed the installation instructions and everything went fine until wanted to test the pre-trained model by executing:
python tools/test_net.py --config-file ./configs/retina/retinanet_mask_R-50-FPN_2x_adjust_std011_ms.yaml MODEL.WEIGHT ./models/retinanet_mask_R-50-FPN_2x_adjust_std011_ms_model.pth MODEL.MASK_ON False
This leads to the following error:
Traceback (most recent call last):
File "tools/test_net.py", line 100, in <module>
main()
File "tools/test_net.py", line 55, in main
cfg.merge_from_file(args.config_file)
File "/home/flo/anaconda3/envs/uav-challenge/lib/python3.6/site-packages/yacs/config.py", line 213, in merge_from_file
self.merge_from_other_cfg(cfg)
File "/home/flo/anaconda3/envs/uav-challenge/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/flo/anaconda3/envs/uav-challenge/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/flo/anaconda3/envs/uav-challenge/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/flo/anaconda3/envs/uav-challenge/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: MODEL.BACKBONE.OUT_CHANNELS'
Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS
Hi, Following the visual feature extraction instructions, I'm running into the following issue: Traceback (most recent call last): File ".
Read more >mmdet.apis — MMDetection 2.25.1 documentation
Build a model from config and load the given checkpoint. ... NOTE: make sure that py_dict in different ranks has the same keys...
Read more >Differentiable Network Pruning for Microcontrollers - arXiv
In this work, we present a differentiable structured network pruning method for convolutional neural networks, which integrates a model's MCU-specific resource ...
Read more >Building Automation System over IP (BAS/IP) Design ... - Cisco
U sing D ynamic Host Configuration Protocol and D HCP Option 82 . ... I nformation Model: The Key to I ntegration. Craton,...
Read more >maskrcnn-benchmark报错KeyError “Non-existent config key
maskrcnn-benchmark报错KeyError “Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS“. ying wong 于 2021-08-20 16:36:14 发布 1999 收藏.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, How did you install the code? Looks like you install the different repository. MODEL.BACKBONE.OUT_CHANNELS is still valid in this repository but is removed in the master branch of maskrcnn-benchmark. Try to recompile the code.
rm -rf build python setup.py build develop
Obviously, there is a different version of maskrcnn-benchmark in your pip. You need to remove it first and then run
python setup.py build develop
under the root directory of retinamask.