Skip to content

Nafnet is neither supported nor unsupported in mmagic/api/mmagic_inferencers.py #1872

@zhongqiu1245

Description

@zhongqiu1245

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmagic

Environment

Environment is OK.
This question was found in mmagic/api/mmagic_inferencers.py.
It only appears when I want to use NAFNet with MMagicInferencer (MMagicInferencer("nafnet"))

Reproduces the problem - code sample

from mmagic.api import MMagicInferencer
editor = MMagicInferencer('nafnet')

Reproduces the problem - command or script

from mmagic.api import MMagicInferencer
editor = MMagicInferencer('nafnet')

Reproduces the problem - error message

Model nafnet is not supported.

BUT, I read mmagic/api/mmagic_inferencers.py, then I found NAFNet was not in unsupported list either.

Additional information

No response

Metadata

Metadata

Assignees

Labels

kind/bugsomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions