Thanks to visit codestin.com
Credit goes to github.com

Skip to content

May be a bug? #782

@xiao10ma

Description

@xiao10ma

https://github.com/THUDM/CogVideo/blob/main/finetune/models/cogvideox_t2v/lora_trainer.py#L111

Why first_frame.repeat(1, 1, ncopy, 1, 1)?

I think that it should be repeating patch_size_t - ncopy times so that the assert latent.shape[2] % patch_size_t == 0 can be realized. Here the patch_size_t is set to 2, so it may not raise an error. But if it is 4, and the latent't frame is 13, then it causes error.

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