Giter Club home page Giter Club logo

Comments (5)

Eiteljoerch avatar Eiteljoerch commented on September 5, 2024 2

Hi,
I habe the same issue on my macbook M1.
I installed invoke AI
Then this message came up, while trying to run it:

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.
Thanks for help!

from easynmt.

sunny5156 avatar sunny5156 commented on September 5, 2024 1

change transformers version to 4.4,it's works

from easynmt.

nreimers avatar nreimers commented on September 5, 2024

Not sure why this happens. Maybe try to to clean your huggingface cache. Maybe the download was corrupted.

from easynmt.

ankitvirla avatar ankitvirla commented on September 5, 2024

Hi, I'm facing the same issue.
If it's solved by anyone can you please mention the way to fix it.
image

from easynmt.

eatinghungry avatar eatinghungry commented on September 5, 2024

Hi, I'm facing the same issue. If it's solved by anyone can you please mention the way to fix it. image

OSError: Unable to load weights from pytorch checkpoint file for './blenderbot_small-90M' at ./blenderbot_small-90M/pytorch_model.bin'If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

hey do u know how to solve this problem now? thanks

from easynmt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.