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

About test.py #11

Open
LLMOON opened this issue Mar 1, 2024 · 2 comments
Open

About test.py #11

LLMOON opened this issue Mar 1, 2024 · 2 comments

Comments

@LLMOON
Copy link

LLMOON commented Mar 1, 2024

作者您好,请问使用下载好的预训练模型可以直接用来test吗

我按照[DehazeFormer]类似的命令运行test.py,一直显示出错,具体如下:
python test.py --model MixDehazeNet-l --dataset Haze4k --exp haze4k

Traceback (most recent call last):
File "test.py", line 94, in <module>
network = eval(args.model.replace('-', '_'))()
File "<string>", line 1, in <module>
NameError: name 'MixDehazeNet_l' is not defined

感谢您的解答

@AmeryXiong
Copy link
Owner

AmeryXiong commented Mar 1, 2024 via email

@LLMOON
Copy link
Author

LLMOON commented Mar 1, 2024

理解了,谢谢您的回复

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

2 participants