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

my generated video is black #2

Open
lu123456789 opened this issue Apr 26, 2023 · 2 comments
Open

my generated video is black #2

lu123456789 opened this issue Apr 26, 2023 · 2 comments

Comments

@lu123456789
Copy link

Why is the generated video black and the value of sample is nan?

@hcl14
Copy link

hcl14 commented Apr 27, 2023

Same for me. I fixed this by cloning from huggingface then cloning the same stable diffusion 1.4 as gradio demo wants git lfs clone https://huggingface.co/CompVis/stable-diffusion-v1-4 into checkpoints/CompVis/stable-diffusion-v1-4 (this path is hardcoded in some places). Then I can generate videos by editing configs to point into this path, also you need to set use_null_inv: false in config and probably mixed_precision: fp16 otherwise you get bad-looking result. Gradio demo is broken and can't find the model it downloaded (perhaps hardcoded path), I used test_vid2vid_zero.py.

You may have error Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library - you need to reinstall numpy

@lu123456789
Copy link
Author

Same for me. I fixed this by cloning from huggingface then cloning the same stable diffusion 1.4 as gradio demo wants git lfs clone https://huggingface.co/CompVis/stable-diffusion-v1-4 into checkpoints/CompVis/stable-diffusion-v1-4 (this path is hardcoded in some places). Then I can generate videos by editing configs to point into this path, also you need to set use_null_inv: false in config and probably mixed_precision: fp16 otherwise you get bad-looking result. Gradio demo is broken and can't find the model it downloaded (perhaps hardcoded path), I used test_vid2vid_zero.py.

You may have error Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library - you need to reinstall numpy

Thank you very much. It's very helpful and useful.

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

2 participants