You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your wonderful contributions! I have some issues with the loading of VAE checkpoint.
when loading the checkpoint (https://huggingface.co/LanguageBind/Open-Sora-Plan-v1.0.0/tree/main/vae), we found that code vae = CausalVAEModel.from_pretrained('./ckpt/Open-Sora-Plan-v1.0.0/vae/')
raises error UnpicklingError: invalid load key, '\xb0'.
We also try another solution as vae = CausalVAEModel.from_config('./ckpt/Open-Sora-Plan-v1.0.0/vae/config.json') model = vae.init_from_ckpt('./ckpt/Open-Sora-Plan-v1.0.0/vae/diffusion_pytorch_model.safetensors')
failed again with same error.
Additionally, directly applying pickle returns the same error. So what could be the reason for that? and how to load the checkpoint?
The text was updated successfully, but these errors were encountered:
Thank you for your wonderful contributions! I have some issues with the loading of VAE checkpoint.
when loading the checkpoint (https://huggingface.co/LanguageBind/Open-Sora-Plan-v1.0.0/tree/main/vae), we found that code
vae = CausalVAEModel.from_pretrained('./ckpt/Open-Sora-Plan-v1.0.0/vae/')
raises error
UnpicklingError: invalid load key, '\xb0'.
We also try another solution as
vae = CausalVAEModel.from_config('./ckpt/Open-Sora-Plan-v1.0.0/vae/config.json') model = vae.init_from_ckpt('./ckpt/Open-Sora-Plan-v1.0.0/vae/diffusion_pytorch_model.safetensors')
failed again with same error.
Additionally, directly applying pickle returns the same error. So what could be the reason for that? and how to load the checkpoint?
The text was updated successfully, but these errors were encountered: