Use GAN (Generative adversarial network) to generate your anime avatar and style transfer!
Note: This codebase was developed in 2018, which is out of date in the 2020s. This code is only for reference and will no longer be updated. Today, a diffusion-based model is recommended for image generation tasks.
- Algorithm & design:@creeper121386
- Web:@Benjaminyuan
- Deployment:@ThinCats
This is paper
To build, you need:
- NVIDIA with Cuda-toolkit
- PyTorch
$ pip install PyTorch
- Flask (for web view)
$ pip install flask
- Mataplotlib
- Go to
hackweek
directory, and then run usingpython manage.py
- It will download the PyTorch model automatically; wait patiently.
- If successful, it should appear the basic server information. Go to http://localhost:5000 to have fun
Docker image (Still waited to be optimized)