Code Monkey home page Code Monkey logo

tooncrafter_with_sketchguidance's Introduction

ToonCrafter_with_SketchGuidance

This repository is an implementation that recreates the SketchGuidance feature of "ToonCrafter".

2024-07-13.2.52.44.mov

๐Ÿงฐ Models

Model Resolution GPU Mem. & Inference Time (A100, ddim 50steps) Checkpoint
ToonCrafter_512 320x512 TBD (perframe_ae=True) Hugging Face
SketchEncoder TBD TBD Hugging Face

Currently, ToonCrafter can support generating videos of up to 16 frames with a resolution of 512x320. The inference time can be reduced by using fewer DDIM steps.

โš™๏ธ Setup

Install Environment via Anaconda (Recommended)

conda create -n tooncrafter python=3.8.5
conda activate tooncrafter
pip install -r requirements.txt

๐Ÿ’ซ Inference

1. Local Gradio demo

  1. Download pretrained ToonCrafter_512 and put the model.ckpt in checkpoints/tooncrafter_512_interp_v1/model.ckpt.
  2. Download pretrained SketchEncoder and put the model.ckpt in control_models/sketch_encoder.ckpt.
  python gradio_app.py 

tooncrafter_with_sketchguidance's People

Contributors

mattyamonaca avatar

Stargazers

mktn avatar Slice avatar  avatar Mark avatar Takuma Nobuto avatar Todor Imreorov avatar  avatar Patrick Kwon avatar  avatar As avatar  avatar tomato avatar  avatar  avatar  avatar  avatar greptime avatar  avatar  avatar Eris2025 avatar  avatar Sosui Koga avatar Fronk Supakorn avatar Beckett avatar Krtolica Vujadin avatar Tianyi Xie avatar  avatar David Marx avatar siro avatar Patricio Gonzalez Vivo avatar ChenJie avatar Jerry Chi avatar Chenlei Hu avatar  avatar Xuanmeng Zhang avatar  avatar  avatar ้ญ‘้ญ…้ญ้ญ‰ avatar  avatar Terry Jia avatar  avatar Zekaryas avatar  avatar FJKei avatar  avatar  avatar  avatar toyxyz avatar One Click installer enthusiast avatar ้’้พ่–่€…@bdsqlsz avatar  avatar  avatar

Watchers

 avatar

tooncrafter_with_sketchguidance's Issues

can you also do it with colored input image only?

(waiting for Kijai comfyui node update)I can't test it out yet, since I have low VRAM, but i remember seeing a demo showing that you only need 1 fully colored frame, does that also work or do you need both the starting and ending frame?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.