Log in

View Full Version : VapourSynth-waifu2x-opt - image super-resolution/denoise filter


mawen1250
12th July 2015, 18:15
Source & Readme (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-waifu2x-opt)

Binary: GitHub (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-waifu2x-opt/releases) | NMM (http://nmm.me/11m)

Based on the waifu2x-opt library (https://github.com/logicmachine/waifu2x-opt).

sl1pkn07
13th July 2015, 19:08
no support CPUS without AVX?

mawen1250
14th July 2015, 13:54
no support CPUS without AVX?

That's exactly what waifu2x-opt is.

Tarutaru
19th October 2015, 06:56
I can't get it work, it always terminates with this error
terminate called after throwing an instance of 'ZimgError'
Aborted (core dumped)


My script
import vapoursynth as vs
core = vs.get_core()
ret = core.imwri.Read('foo.jpg')
ret = core.waifu2x.Resize(ret)
ret.set_output()

foxyshadis
19th October 2015, 07:23
32- or 64-bit? It uses an enormous amount of memory, in 32-bit it might be exceeding the limit with a large input.

Tarutaru
19th October 2015, 08:26
32- or 64-bit? It uses an enormous amount of memory, in 32-bit it might be exceeding the limit with a large input.

I'm running it on Linuxmint x64, Vapoursynth and it's plugin are installed from djcj's PPA.
:thanks:
$ uname -a
Linux linuxmint 4.2.3-040203-generic #201510030832 SMP Sat Oct 3 12:34:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l | grep vapoursynth
ii libvapoursynth 27+repack1-1~trusty amd64 frameserver for the 21st century
ii libvapoursynth-dev 27+repack1-1~trusty amd64 frameserver for the 21st century - development files
ii libvapoursynth-script0 27+repack1-1~trusty amd64 frameserver for the 21st century - VSScript runtime
ii libvapoursynth3 27-1~trusty amd64 frameserver for the 21st century
ii vapoursynth-docs 27+repack1-1~trusty all frameserver for the 21st century - documentation
ii vapoursynth-editor 4-2~trusty amd64 editor for VapourSynth scripts
ii vapoursynth-extra-plugins 20151008-1~trusty1 amd64 Additional plugins for VapourSynth
ii vapoursynth-nnedi3-plugin 20151008-1~trusty1 all nnedi3 plugin for VapourSynth (transitional package)
ii vapoursynth-python3 27+repack1-1~trusty amd64 frameserver for the 21st century - Python 3 module
ii vapoursynth-waifu2x-models 20151008-1~trusty1 all models files for the waifu2x VapourSynth plugin

mawen1250
20th October 2015, 13:41
What's the format, width and height of your input image?
it's some problem related to the zimg part, and in this case only the chroma is processed with zimg, so you can try a GRAY clip to see if the error still exists.
By the way, this plugin should be deprecated since Waifu2x-w2xc (http://forum.doom9.org/showthread.php?t=172390) is a better choice. The latter is faster even in pure CPU mode, with much less memory consumption.