An interactive interface for swapping autoencoder
Our project builds on the paper Swapping Autoencoder for Deep Image Manipulation by Taesung Park, Jun-Yan Zhu, Oliver Wang, Jingwan Lu, Eli Shechtman, Alexei A. Efros, Richard Zhang. Our goal with this project was to make it easier for artists to use it as a tool. In that effort, we have introduced 3 interfaces to interact with a pre-trained model and edit images.
- Nvidia GPU + CUDA.
- Operating System : Any (Windows / Linux / Mac).
- python 3.8
- poetry (Check out poetry here)
$ poetry install
Head over to the Testing and Evaluation section of the official implementation of the paper and download the pretrained models and unzip them, put the checkpoints at ./checkpoints/
, you can change this location by specifying it at api/const.py:7
Streamlit Interface
$ streamlit run streamlit_interface.py
Checkout our wiki for more details
saxenabhishek/swapping-autoencoder-pytorch
is available under the MIT license. See the LICENSE file for more info.
Please read Contributing.md
for details on our code of conduct, and the process for submitting pull requests to us.