Awesome StyleGAN models
Generate video of image transformation using offficial Nvidia StyleGAN2 ADA models:
- TensorFlow implementation.
- Pytorch implementation.
Use Docker
Or manually install all dependencies and download models:
Clone the repository:
git clone https://github.com/NVlabs/stylegan2-ada.git
Download the preptarained model:
wget https://nvlabs-fi-cdn.nvidia.com/stylegan2-ada/pretrained/ffhq.pkl -O models/nvidia-stylegan2-ada-ffhq-tf.pkl
Clone the repository:
git clone https://github.com/NVlabs/stylegan2-ada-pytorch.git
Download the preptarained model:
wget https://nvlabs-fi-cdn.nvidia.com/stylegan2-ada-pytorch/pretrained/ffhq.pkl -O models/nvidia-stylegan2-ada-ffhq-pt.pkl
An example script usage is in the scripts folder:
Instead of linear interpolation you can use sine interpolation. There is an example of viddeo with beat detection from Aubio library.
There is an another example of video with beat detection in the wild.