Skip to content

Style transfer example? #32

Open
Open
@antithing

Description

@antithing

Hi, and thank you for this code. Do you have any example scripts to do video to video style transfer, as in the example gifs?

I a,m looking to pass in a video and a style reference frame, and output a video styled as the reference.

I see this:

python demo.py \
    --prompt <"prompt text"> \ # prompt text
    --checkpoint_path <model_path> \ # checkpoint path (e.g checkpoints/Diffusion-As-Shader)
    --output_dir <output_dir> \ # output directory
    --input_path <input_path> \ # the reference video path
    --tracking_path <tracking_path> \ # the tracking video path (need to be generated by Blender)
    --repaint < True/repaint_path > \ # the rendered first frame image path of input mesh video or use FLUX to repaint the first frame
    --gpu <gpu_id> \ # the gpu id

Which seems to do what I want, however I am not clear on the args.

--input_path <input_path> \ #What is this??
--tracking_path <tracking_path> \ # the tracking video path (need to be generated by Blender)
--repaint < True/repaint_path > \ # Is this the style reference frame? So I would take the first frame of the blender scene and create a styled image from it? 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions