image2ink icon indicating copy to clipboard operation
image2ink copied to clipboard

image-to-image translation from image to ink wash painting

image2ink

Image-to-image translation from real photo to ink wash painting.

Updated to be runnable on Python 3.6 ~ 3.9, for both training and inferencing.

Requirements:

  • Python >= 3.6

pip install -r requirements.txt

Inference:

Prepare your own landscape images in "./inkwash_dataset/testA", and keep the testB folder the same as testA. (One example image generated by SDXL is provided.)

Then, run "bash test_ink.sh".

Train:

Prepare your own paired dataset in "./inkwash_dataset/trainA" and "./inkwash_dataset/trainB".

Then, run "bash train_ink.sh".

Example of result: