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: "No object named 'VideoMaskFormer' found in 'META_ARCH' registry!" #252

Open
jiyuwangbupt opened this issue Nov 20, 2024 · 0 comments

Comments

@jiyuwangbupt
Copy link

Traceback (most recent call last):
File "/home/wm/Mask2Former/demo/demo.py", line 109, in
demo = VisualizationDemo(cfg)
File "/home/wm/Mask2Former/demo/predictor.py", line 37, in init
self.predictor = DefaultPredictor(cfg)
File "/home/wm/detectron2/detectron2/engine/defaults.py", line 314, in init
self.model = build_model(self.cfg)
File "/home/wm/detectron2/detectron2/modeling/meta_arch/build.py", line 24, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/home/wm/.local/lib/python3.10/site-packages/fvcore/common/registry.py", line 71, in get
raise KeyError(
KeyError: "No object named 'VideoMaskFormer' found in 'META_ARCH' registry!"

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