Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: "MaskRCNN: 'efficientformer_l1_feat is not in the models registry'" #63

Open
QiqLiang opened this issue Sep 5, 2023 · 0 comments

Comments

@QiqLiang
Copy link

QiqLiang commented Sep 5, 2023

I want to use the efficientformer_l1 as backbone in the task of object detection for a single image.
I use the following code:

from mmdet.apis import init_detector, inference_detector config_file = "./configs/mask_rcnn_efficientformer_l1_fpn_1x_coco.py" checkpoint_file = "./checkpoints/efficientformer_l1_coco.pth" model = init_detector(config_file, checkpoint_file, device="cpu") img = "./dogs.jpg" result = inference_detector(model, img) model.show_result(img, result, model.CLASSES, out_file="result.jpg")

but it shows: KeyError: "MaskRCNN: 'efficientformer_l1_feat is not in the models registry'", what should I do? how can I add the efficientformer model in the registry? thanks for answering this question!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant