the CartoonGAN follows this project
the CycleGAN uses the vanilla cycleGAN project with some minor tweaks
The following shows data folder structure.
── data
├── src_data # src data (not included in this repo)
│ ├── train
│ └── test
└── tgt_data # tgt data (not included in this repo)
├── train
└── pair # edge-promoting results to be saved here, only use for CartoonGAN
The training data needs to be downloaded from this link and place inside the data
- Download VGG19 VGG19 put the model under pre_trained_VGG19_model_path folder
- Run CartoonGAN.ipynb
- Run CycleGAN.ipynb
- Use the photo-manga pair images, the dataset can be downloaded from here
- Run Pix2Pix.ipynb
- NVIDIA Tesla P100
- cuda 8.0
- python 3.5.5
- pytorch 0.4.1
- torchvision 0.2.1
- opencv-python 3.4.3.18