Downloads · 30 days
0
ruizhaocv/MotionDirector_weights
MotionDirector_weights is a machine learning model from ruizhaocv. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is the official repository for MotionDirector weights. Code and details are at: https://github.com/showlab/MotionDirector.git
Downloads · 30 days
0
Access
Public
Updated Dec 13, 2023
Repo size
942 MB
Likes
4
Public
Click a slice to open those files.
.pt828 MB · 100%
From the Hugging Face model README
This is the official repository for MotionDirector weights. Code and details are at: https://github.com/showlab/MotionDirector.git
Clone the repo as follows:
git lfs clone --depth 1 --single-branch --branch main https://huggingface.co/ruizhaocv/MotionDirector_weights.git ./outputs
After installing dependencies, run the following command to generate a.mp4 video:
#!/bin/bash
eval "$(conda shell.bash hook)"
conda activate motiondirector
MODEL_PATH=./models/zeroscope_v2_576w
PROMPT="A lion is running past the pyramids."
python MotionDirector_inference.py \
--model $MODEL_PATH \
--prompt "$PROMPT" \
--checkpoint_folder ./outputs/train/car_16/ \
--checkpoint_index 150 \
--noise_prior 0.5 \
--seed 431554 | tee ./local_log.log
The generated .mp4 is then stored under the inference directory.