You can install esrgan via pip or directly from source.

Install from GitHub

You can install the latest development version using pip directly from the GitHub repository:

pip install git+

Install from source

It’s also possible to clone the Git repository and install it from source with Poetry:

git clone
cd esrgan
poetry install