GithubHelp home page GithubHelp logo

UnboundLocalError: local variable 'text_encoder' referenced before assignment | OSError: Error no file named model_index.json found about diffusers HOT 6 CLOSED

jochemstoel avatar jochemstoel commented on August 24, 2024
UnboundLocalError: local variable 'text_encoder' referenced before assignment | OSError: Error no file named model_index.json found

from diffusers.

Comments (6)

ShivamShrirao avatar ShivamShrirao commented on August 24, 2024 1

Thanks, fixed in 45446ad

Btw check out the new colab with newer settings, it gives much better results by also training the text encoder.

from diffusers.

ShivamShrirao avatar ShivamShrirao commented on August 24, 2024 1

@InB4DevOps Yes it works. It requires 13 GB VRAM.

from diffusers.

ShivamShrirao avatar ShivamShrirao commented on August 24, 2024 1

Oh right, I didn't touch the readme in this fork.

from diffusers.

racecars avatar racecars commented on August 24, 2024

same issue this afternoon -- have also been running in Google Colab Pro without issue for several days and just started getting this error

from diffusers.

InB4DevOps avatar InB4DevOps commented on August 24, 2024

Thanks, fixed in 45446ad

Btw check out the new colab with newer settings, it gives much better results by also training the text encoder.

Will text_encoder work with Colab free tier (since it only has 16GB VRAM)?

from diffusers.

InB4DevOps avatar InB4DevOps commented on August 24, 2024

@InB4DevOps Yes it works. It requires 13 GB VRAM.

Nice! Then you might want to change the readme.md in examples/dreambooth where it says Note: Training text encoder requires more memory, with this option the training won't fit on 16GB GPU. It needs at least 24GB VRAM.

from diffusers.

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.