Skip to main content

VapourSynth GAN Implementation using RRDBNet, based on ESRGAN's implementation

Project description

VSGAN

VapourSynth GAN Implementation, based on ESRGAN's implementation

Installation

pip3 install vsgan

PyTorch and CUDA needs to be installed seperately.

Usage

import vsgan as VSGAN
(...)
result = VSGAN.Start(clip=clip, model=[string: path to .pth], scale=[int: model's scale], old_arch=[bool: only set to true for models not working with the current arch])
result.set_output()

The resulting video will be the same color space format as your input clip, BUT, it's currently assuming its matrix is 709, if your inputs matrix is different, please change it at this line of code. :(

Enjoy! Thanks to:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vsgan-1.0.0.post1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

vsgan-1.0.0.post1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page