Downloads · 30 days
0
svjack/ToonCrafter-fp16
ToonCrafter-fp16 is a machine learning model from svjack. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains the fp16 version of the ToonCrafter model, optimized for half-precision computations. The model is hosted on Hugging Face and can be accessed via the following links:
Downloads · 30 days
0
Access
Public
Updated Dec 7, 2024
Repo size
23.8 MB
Likes
1
Public
Click a slice to open those files.
.png19.3 MB · 69%
From the Hugging Face model README
This repository contains the fp16 version of the ToonCrafter model, optimized for half-precision computations. The model is hosted on Hugging Face and can be accessed via the following links:
To clone the repository and set up the environment, follow these steps:
git clone https://huggingface.co/spaces/svjack/ToonCrafter-fp16 && cd ToonCrafter-fp16
After cloning the repository, install the required dependencies using pip:
pip install -r requirements.txt
Additionally, ensure that einops is up-to-date:
pip install --upgrade einops
pip install pyav==13.1.0
Once the repository is cloned and dependencies are installed, you can proceed to use the ToonCrafter-fp16 model for your tasks.
python gradio_app.py
python run_videos.py --image_dir xingqiu_images --prompt "" --steps 50 --cfg_scale 3.0 --eta 1.0 --fs 3 --seed 123
<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/634dffc49b777beec3bc6448/ML2bDmu64_OIBGqhV7IeX.mp4"></video>
If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the terms specified in the repository. Please refer to the LICENSE file for more details.