Downloads · 30 days
6
32% of all-time downloads
MyNiuuu/MOFA-Video-Hybrid
MOFA-Video-Hybrid is a image-to-video model from MyNiuuu. Use it for the image-to-video task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
6
32% of all-time downloads
All-time downloads
19
Public
Repo size
34.6 GB
Likes
28
Public
Click a slice to open those files.
.safetensors12.3 GB · 35%
From the Hugging Face model README
arxiv.org/abs/2405.20222
This repo provides the inference Gradio demo for Hybrid (Trajectory + Landmark) Control of MOFA-Video.
cd MOFA-Hybrid
conda create -n mofa python==3.10
conda activate mofa
pip install -r requirements.txt
pip install opencv-python-headless
pip install "git+https://github.com/facebookresearch/pytorch3d.git"
IMPORTANT: Gradio Version of 4.5.0 should be used since other versions may cause errors.
Download the checkpoint of CMP from here and put it into ./models/cmp/experiments/semiauto_annot/resnet50_vip+mpii_liteflow/checkpoints.
Downloading the necessary pretrained checkpoints from huggingface. It is recommended to directly using git lfs to clone the huggingface repo. The checkpoints should be orgnized as ./ckpt_tree.md (they will be automatically organized if you use git lfs to clone the huggingface repo).
python run_gradio_audio_driven.py
python run_gradio_video_driven.py
IMPORTANT: Please refer to the instructions on the gradio interface during the inference process.