Assertion Error
anandhiray opened this issue · comments
File "quick_test.py", line 28, in
assert args.sr_size[0] / lr.size(2) > 1 and args.sr_size[0] / lr.size(2) <= 4
AssertionError
Can you help me fix the above issue I get when I try the quick_test.py?
Thank you!
Because your magnification or reduction factor exceeds 4 or is less than 1,You can see the comment on line 26 to 27 of quick_test.py:
model is trained on scale factors in range [1, 4]
one can also try out-of-distribution scale factors but the results may be
So you can delete the assert statement on lines 28-29 to solve this problem, but this may cause unsatisfactory results.