-
Notifications
You must be signed in to change notification settings - Fork 116
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
If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. #46
Comments
Not sure why this happens. Maybe try to to clean your huggingface cache. Maybe the download was corrupted. |
change transformers version to 4.4,it's works |
Hi, OSError: Unable to load weights from pytorch checkpoint file for '/Users/epicmusic/invokeai/models/openai/clip-vit-large-patch14/models--openai--clip-vit-large-patch14/snapshots/8d052a0f05efbaefbc9e8786ba291cfdf93e5bff/pytorch_model.bin' at '/Users/epicmusic/invokeai/models/openai/clip-vit-large-patch14/models--openai--clip-vit-large-patch14/snapshots/8d052a0f05efbaefbc9e8786ba291cfdf93e5bff/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. If I would know, where to set tf=True, I would be happy. I am not a coder, but if I understand, what to do, I will fix it. |
OSError: Unable to load weights from pytorch checkpoint file for 'facebook/m2m100_1.2B' at '/cache/transformers/68002fb1a7773d8d8373f1a230588141964ef9f249db6987681f295dbe85356c.ee70663869b89be4f68eed03a21d5c3400b223cb544883f411e469aaea0a25f9'If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
The text was updated successfully, but these errors were encountered: