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

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory pretrained_models/stable-diffusion-v1-5. #12

Closed
jygkh opened this issue Dec 5, 2023 · 2 comments

Comments

@jygkh
Copy link

jygkh commented Dec 5, 2023

(manimate) ryan@DESKTOP-81PKUNM:/mnt/d/python/magic-animate-main$ bash scripts/animate.sh
Traceback (most recent call last):
File "/home/ryan/miniconda3/envs/manimate/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/ryan/miniconda3/envs/manimate/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/mnt/d/python/magic-animate-main/magicanimate/pipelines/animation.py", line 282, in
run(args)
File "/mnt/d/python/magic-animate-main/magicanimate/pipelines/animation.py", line 271, in run
main(args)
File "/mnt/d/python/magic-animate-main/magicanimate/pipelines/animation.py", line 76, in main
text_encoder = CLIPTextModel.from_pretrained(config.pretrained_model_path, subfolder="text_encoder")
File "/home/ryan/miniconda3/envs/manimate/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2805, in from_pretrained
state_dict = load_state_dict(resolved_archive_file)
File "/home/ryan/miniconda3/envs/manimate/lib/python3.8/site-packages/transformers/modeling_utils.py", line 458, in load_state_dict
with safe_open(checkpoint_file, framework="pt") as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

I downloaded the models from the updated links from #2

@mp3pintyo
Copy link

mp3pintyo commented Dec 5, 2023

@FurkanGozukara
Copy link

finally released full scripts including auto DensePose maker : #44

@jygkh jygkh closed this as completed Dec 6, 2023
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

3 participants