Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reason for downsampling in inference.py #86

Open
daeunni opened this issue Jul 30, 2024 · 0 comments
Open

Reason for downsampling in inference.py #86

daeunni opened this issue Jul 30, 2024 · 0 comments

Comments

@daeunni
Copy link

daeunni commented Jul 30, 2024

Hi, thanks for your nice work.
Btw, what's the reason for downsampling the original width/height?
Is it for sending to latent space? (i.e. VAE scale factor?)
Then how can I change it in pixel space? (w/ user-demanded height, width)

    ## latent noise shape
    h, w = args.height // 8, args.width // 8

https://github.com/AILab-CVC/VideoCrafter/blob/11bcd76fc62fb98b9715b994afe45b4fa081120c/scripts/evaluation/inference.py#L57C5-L57C45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant