Reimplementation of Waifu2x in Python using Theano and Lasagne.
- Python3
- Python Imaging Library (PIL)
- Theano
- Lasagne
- The models folder from waifu2x
To upscale and clean an image run:
./waifu.py -i noisy_image.png -m noise_scale --noise-level 1 -o new_image.png
To see all the available options type:
./waifu.py --help
To run the program on the GPU (much faster) use:
export THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32
see http://www.deeplearning.net/software/theano/install.html#using-the-gpu for more info.
Implement training.
More options.