Kernel: Python 3
Video Model Training
NOTES:
It's assumed that there's a pretrained generator from the ColorizeTrainingStable notebook available at the specified path.
This is "NoGAN" based training, described in the DeOldify readme.
In [ ]:
In [ ]:
Setup
In [ ]:
In [ ]:
Create black and white training images
Only runs if the directory isn't already created.
In [ ]:
Finetune Generator With Noise Augmented Images.
This helps the generator better deal with noisy/grainy video (which is pretty normal).
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
Repeatable GAN Cycle
NOTE
Best results so far have been based only doing a single run of the cells below (otherwise glitches are introduced that are visible in video).
In [ ]:
Save Generated Images
In [ ]:
In [ ]:
In [ ]:
Pretrain Critic
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
GAN
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
Instructions:
Find the checkpoint just before where glitches start to be introduced. So far this has been found at the point of iterating through 1.4% of the data when using learning rate of 1e-5, and at 2.2% of the data for 5e-6.
In [ ]: