xinntao / ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
https://github.com/xinntao/BasicSR
Apache License 2.0
5.91k stars 1.05k forks source link

Update test.py #71

Open devtech3535 opened 4 years ago

devtech3535 commented 4 years ago

Added optional command-line argument for specifying model file. This is an alternative to the current method of hardcoding the model file. Attempting to pass in an interpolated model as an argument (as described in the README) won't work if hardcoded.