TachibanaYoshino / AnimeGANv2

[Open Source]. The improved version of AnimeGAN. Landscape photos/videos to anime
5.06k stars 709 forks source link

How to use 512 x 512 or higher-definition pictures for training #58

Open mjgaga opened 1 year ago

mjgaga commented 1 year ago

I want to use 512 x 512 or higher resolution images, my plan is as follows:

  1. ffmpeg extracts 1080 * 1080 pictures, then sacle to 512 x 512
  2. python edge_smooth.py --dataset xxxx --img_size 512
  3. python train.py --dataset xxxx --epoch 101 --init_epoch 10 But I see that the pictures in train_photo under the dataset will also be used for training, so do the pictures in train_photo need to be updated to 512 x 512?