pip install -q -U --pre triton
pip install typing-extensions==4.5.0 kaleido
pip install -q diffusers[torch]==0.11.1 transformers==4.26.0 bitsandbytes==0.35.4\
decord accelerate omegaconf einops ftfy gradio imageio-ffmpeg xformers
Or
pip install -r requirements.txt
- Clone the git repository
- Download custom training videos from Frozen-in-Time and save them under
main/training_videos/[your training folder name]
- Add a config file under
main/configs/[your config name]
, see existing configs as examples. The suggested numbers of training steps are 4800, 12000, 16000. - Run
cd main; accelerate launch train_cs236.py --config=[path-to-your-config]
Sample inference script can be found in CS236_Main.ipynb