--- license: apache-2.0 --- adapted from: https://github.com/xinntao/Real-ESRGAN