Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant