Coder Social home page Coder Social logo

Comments (9)

entmike avatar entmike commented on August 16, 2024 2

Update, it appears edcae96 broke this because of the diffusers change in requirements.txt. If I change it back to diffusers==0.7.2, this error goes away.

from sd_dreambooth_extension.

rehaldinho64 avatar rehaldinho64 commented on August 16, 2024 1

Changing the diffusers version didn't work for me. Switching from Python version 3.10 to 3.9 worked.

from sd_dreambooth_extension.

d8ahazard avatar d8ahazard commented on August 16, 2024 1

I'm going to close this, as I believe this was related to issues with installing the plugin. Feel free to open a new issue with the Template if not so I can better diagnose the issue. Tx.

from sd_dreambooth_extension.

Jonseed avatar Jonseed commented on August 16, 2024

I'm also seeing this error on the latest commit 2eb125e, which installs diffusers 0.3.0? Or is that the server that is installing it? Going to try to change diffusers back to 0.7.2

from sd_dreambooth_extension.

phutngo avatar phutngo commented on August 16, 2024

So what's the solution to this problem then?

Returning result: Exception training model: 'UNet2DConditionModel' object has no attribute 'params'

from sd_dreambooth_extension.

travisbeard avatar travisbeard commented on August 16, 2024

I am getting this as well. Using Python 3.10

from sd_dreambooth_extension.

harrywang avatar harrywang commented on August 16, 2024

Changing the diffusers version didn't work for me. Switching from Python version 3.10 to 3.9 worked.

I ran into the same problem with Python 3.8.x and 3.9.11 worked.

from sd_dreambooth_extension.

pmarreck avatar pmarreck commented on August 16, 2024

I ran into a similar issue ("model stable-diffusion-xl-base-1.0 could not be loaded: 'UNet2DConditionModel' object has no attribute 'add_embedding'") and it got me here.

The fact that simply flipping between minor versions of Python fixes ANYTHING (and not even in a logical way! Like why would a new language version fix a bug that looks data- or code- related such as "invalid argument" or "no attribute" errors?) shows just how absolutely brittle Python is as a tech to build this stuff on. Just saying.

from sd_dreambooth_extension.

threewood1 avatar threewood1 commented on August 16, 2024

I also got similar wrong like this:

AttributeError: 'UNetModel' object has no attribute 'enable_gradient_checkpointing'. Did you mean: '_return_value'?

and I changed python3.10.0 to python3.9.11, but it didn't work.

from sd_dreambooth_extension.

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.