This release is for linux users, if you're on windows, use this
https://github.com/aka-katto/dandere2x/releases/tag/1.3.1
Building Dandere2x for Linux
This should be somewhat universal to windows, but this is how I would build the dandere2x myself for linux.
Requirements
gcc
cmake
python3
pip3
python3-venv
ffmpeg
waifu2x-ncnn-vulkan snap -> ubuntu: sudo snap install waifu2x-ncnn-vulkan --edge
Building Commands
cd /home/linux/dev
this can be any folder you want
wget https://github.com/aka-katto/dandere2x/archive/0.1.4.4.tar.gz
tar -xf 0.1.4.5.tar.gz
cd dandere2x-0.1.4.5
cd dandere2x_cpp
cmake CMakeLists.txt
make
cd ..
mkdir src/externals
mv dandere2x_cpp/dandere2x_cpp src/externals/dandere2x_cpp
cd src
mkdir workspace
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 gui_driver.py
At this point, the gui_driver should launch.
Known Issues
-
Converter_cpp was never fully ported to linux, in development at the moment
-
The frames-per-second thing doesn't update on my system, I'm not sure about others.
-
tile-size on waifu2x-ncnn-vulkan doesn't accept 200 as arguments, set it to null or use "-t" instead for the time being.
-
Waifu2x-ncnn-vulkan doesn't upscale folder in alphabetical order, (fixed in nihui/waifu2x-ncnn-vulkan@f3628c4)
Potential Issues
- The snap for w2x-vulkan installs it under
"waifu2x_ncnn_vulkan_path": "/snap/waifu2x-ncnn-vulkan/86/bin",
for me. If it didn't install it here, then you'll need to find where your waifu2x is installed from snap.
-
If the snap package were to suddenly update, this version is broken, as this is running of legacy w2x-vulkan
-
If you're using waifu2x-ncnn-vulkan installed from the snap, you'll need to use the waifu2x_vulkan_legacy option in the GUI.