This is a inference-only version of the original diffae repository: https://github.com/konpatp/diffae.
We use up-to-date versions of Python and Pytorch and try to keep other dependencies as minimal as possible.
We recommend miniforge to set up your python environment.
Then uv can be used to install the project dependencies:
conda create -n $YOUR_ENV_NAME python=3.12
conda activate $YOUR_ENV_NAME
uv pip install -r requirements.txtTo interpolate two face images, try
python interpolate.pyTo manipulate a single image with specific attributes, try
python manipulate.pyThe scripts contain cell definitions that can be executed in interactive mode in VSCode.
- Add gradio demo
- Add detect_align.py script