BasicSR
BasicSR copied to clipboard
Outdated import in ESRGAN colab
The colab notebook with ESRGAN demo has wrong import in the cell Inference method 2: A minimum snippet of testing codes.
Instead of from basicsr.models.archs.rrdbnet_arch import RRDBNet one should use from basicsr.archs.rrdbnet_arch import RRDBNet.
And in the next cell
!python inference/inference_esrgan.py --model_path experiments/pretrained_models/ESRGAN/ESRGAN_SRx4_DF2KOST_official-ff704c30.pth --folder datasets/Set14/LRbicx4
The inference/inference_esrgan.py expects --input and --output arguments, i.e --input datasets/Set14/LRbicx4 and --output results/*.