Celeb model is converted from pre-trained model of Pytorch-ZOO GAN.
The generative networks presented and used here have been trained to generate anime faces and celebrity faces by the company ax Inc. (in 2020).
The training was performed using the framework Pytorch-ZOO GAN. Software license agreement of Pytorch-Zoo GAN: see LICENSE file
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
To generate output.png
,
$ python3 pytorch-gan.py
You can use --savepath
option to change the name of the output file to save.
$ python3 pytorch-gan.py --savepath SAVE_IMAGE_PATH
You can also generate using anime model.
$ python3 pytorch-gan.py -m anime
Code repo for the Pytorch GAN Zoo project (used to train this model)
Pytorch
ONNX opset=10