This project focuses on creating animations using WGANs by interpolating in the latent space. These animations take the form of smooth transitions between various generated images, resulting in GIFs that showcase the capabilities of the trained model.
Follow these steps to get the project running on your local machine.
- Git: Version control system
- Anaconda: Open-source distribution for Python/R
- Download Anaconda here.
- Create a Dummy Folder on your desktop.
- Open Git Bash by right-clicking on the folder and selecting "Git Bash here".
- Clone the Repository:
git clone https://github.com/Lizoug/FaceFusion-Videos-from-Latent-Interpolations.git`
- Close Git Bash and open Anaconda Prompt.
- Open Anaconda Prompt.
- Create a New Conda Environment:
conda create --name myenv python=3.8
- Activate the New Environment:
conda activate myenv
- Navigate to the Project Directory:
cd path_to_dummy_folder/FaceFusion-Videos-from-Latent-Interpolations
- Install Requirements:
pip install -r requirements.txt
- Download Pre-Trained Models:
cd Backend
python download_model.py
- Navigate to the Frontend Directory
cd ..
cd Frontend
- Run Streamlit Application
streamlit run app.py