Giter VIP home page Giter VIP logo

Comments (6)

linqingfeng avatar linqingfeng commented on June 7, 2024 6

If the transformers version is greater than 4.27, this error will be triggered. Downgrading the transformers version to 4.26.1 can fix this error. I don’t know the specific reason, but this method works for me.

pip3 install transformers==4.26.1

from clip-interrogator.

Vigilence avatar Vigilence commented on June 7, 2024

If the transformers version is greater than 4.27, this error will be triggered. Downgrading the transformers version to 4.26.1 can fix this error. I don’t know the specific reason, but this method works for me.

pip3 install transformers==4.26.1

If this is true, then maybe the conflict is due to the Dreambooth extension which installs 4.27.1

Dreambooth's requirement.txt

  • accelerate==0.17.1
  • albumentations~=1.3.0
  • bitsandbytes==0.35.4
  • dadaptation==1.5.0
  • diffusers~=0.14.0
  • discord-webhook~=1.1.0
  • fastapi~=0.90.1
  • ftfy~=6.1.1
  • gitpython~=3.1.31
  • lion-pytorch~=0.0.7
  • mediapipe-silicon; sys_platform == 'darwin'
  • mediapipe; sys_platform != 'darwin'
  • modelcards~=0.1.6
  • tensorboard~=2.11.2
  • tensorflow==2.11.0; sys_platform != 'darwin' or platform_machine != 'arm64'
  • tensorflow-macos==2.11.0; sys_platform == 'darwin' and platform_machine == 'arm64'
  • tqdm~=4.64.1
  • transformers~=4.27.1

from clip-interrogator.

DrewWalkup avatar DrewWalkup commented on June 7, 2024

@linqingfeng nailed it, thank you!

from clip-interrogator.

VictorGalu avatar VictorGalu commented on June 7, 2024

Thanks!

from clip-interrogator.

rmpku avatar rmpku commented on June 7, 2024

The same error, update clip-interrogator==0.5.4 to clip-interrogator==0.6.0, it's works for me.

from clip-interrogator.

pharmapsychotic avatar pharmapsychotic commented on June 7, 2024

Yes sorry the regular install of auto1111 webui uses one version of transformers and the dreambooth extension installs a different version and they need different versions of clip-interrogator. there may be some way for clip-interrogator to check what transformers is installed and manage to support both but I haven't had an opportunity to sort that out yet.

from clip-interrogator.

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.