KeyError: 'Cascade Mask R-CNN'
See original GitHub issue- I’ve followed the installation steps from https://mmdetection.readthedocs.io/en/v2.25.0/get_started.html
- Then I try to execute the following command from the manual
mim download mmdet --config yolov3_mobilenetv2_320_300e_coco --dest .
$ mim download mmdet --config yolov3_mobilenetv2_320_300e_coco --dest .
~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
File "~/miniconda3/envs/openmmlab/bin/mim", line 33, in <module>
sys.exit(load_entry_point('openmim', 'console_scripts', 'mim')())
File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "~/repositories/mim/mim/commands/download.py", line 44, in cli
download(package, configs, dest_root)
File "~/repositories/mim/mim/commands/download.py", line 75, in download
model_info = get_model_info(
File "~/repositories/mim/mim/commands/search.py", line 170, in get_model_info
dataframe = convert2df(metadata)
File "~/repositories/mim/mim/commands/search.py", line 396, in convert2df
for key, value in name2collection[collection_name].items():
KeyError: 'Cascade Mask R-CNN'
I’ve also tried to install mim directly from master, but the same error appears.
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
KeyError while trying executing Python Code on MaskRCNN
I am getting below keyError while running my python script for my custom dataset which using MaskRCNN with tensorflow-gpu. code snippet :
Read more >Cascade Mask R-CNN - Papers With Code
Cascade R-CNN : High Quality Object Detection and Instance Segmentation · Introduction · Results and models.
Read more >detectron2.config
Mask R-CNN supports either "polygon" or "bitmask" as ground truth. ... ROI_BOX_CASCADE_HEAD = CN() # The number of cascade stages is implicitly defined...
Read more >mmdet Changelog - pyup.io
Fix GPG key error in Dockerfile (8215) - Fix `WandbLoggerHook` error (8273) ... Support and release Cascade Mask R-CNN 3x pre-trained models (5645)...
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 @tik0 , this looks like a bug introduced in
mmdet==2.25.0
, related commit: https://github.com/open-mmlab/mmdetection/commit/1fd48f7318ac70bab6de371025c74a76c5219e1c.A quick workaround is to use
mmdet<2.25.0
.Fixed in https://github.com/open-mmlab/mmdetection/pull/8240