Pretrained-IPT icon indicating copy to clipboard operation
Pretrained-IPT copied to clipboard

NameError: name 'model' is not defined

Open amateurbo opened this issue 2 years ago • 1 comments

When I enter “python main.py --dir_data datasets --pretrain models --data_test Set5+Set14+B100+Urban100 --scale 2+3+4” The following error occurs:

Traceback (most recent call last): File "main.py", line 45, in main() File "main.py", line 24, in main _model = model.Model(args, checkpoint) NameError: name 'model' is not defined

What is the reason for this? How to solve it?

amateurbo avatar Sep 20 '21 13:09 amateurbo

Thanks for the feedback. We have fixed the bug.

HantingChen avatar Sep 30 '21 03:09 HantingChen