nagadomi/waifu2x Installation Guide
How to install nagadomi/waifu2x. Official project installation instructions and setup guide.
Automated Install (Recommended)
Quick installation instructions for nagadomi/waifu2x. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i nagadomi/waifu2xInstall via npx
npx @hexmos/ipm i nagadomi/waifu2xPrerequisites
Python
languageVersion: >=3.6.0
Torch7
libraryVersion: 1.12.0
NVIDIA CUDA
system_toolFor GPU acceleration, download from [https://developer.nvidia.com/cuda-downloads](https://developer.nvidia.com/cuda-downloads)
LuaRocks
package_managerVersion: 1.0.0
cuDNN
libraryFor GPU acceleration, download from [https://developer.nvidia.com/cudnn](https://developer.nvidia.com/cudnn)
ImageMagick
system_toolVersion: 7.0.18-1
libpng
libraryVersion: 1.6.32
libjpeg
librarylibsnappy
libraryVersion: 1.0.2
Lua
languageGit
system_toolFor version control, download from [https://git-scm.com/](https://git-scm.com/)
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Source Code
git clone https://github.com/nagadomi/waifu2x.git
cd waifu2xDocker
docker build -t waifu2x . && docker run --gpus all -p 8812:8812 waifu2x th web.luaDocker (Simplified)
docker build -t waifu2x . && docker run --gpus all -p 8812:8812 waifu2x th web.luaPost Installation Steps
- Open your web browser and navigate to http://localhost:8812/ to access the waifu2x web application.
- You can also run the command `th waifu2x.lua -m scale -i input_image.png -o output_image.png` to upscale an image using the default model.
- For more advanced features and options, refer to the official documentation: https://github.com/nagadomi/waifu2x
