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

KeyError: "No object named 'VideoMaskFormer' found in 'META_ARCH' registry!" #252

@jiyuwangbupt

Description

@jiyuwangbupt

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!"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions