Coder Social home page Coder Social logo

Comments (7)

Veldrovive avatar Veldrovive commented on July 18, 2024

That looks like a version issue. What version of python are you using?

from dalle2-laion.

tulliopizzuti avatar tulliopizzuti commented on July 18, 2024

I'm using first 3.10 and next 3.9. The error occurs in both versions.
Do I try the 3.8?

from dalle2-laion.

Veldrovive avatar Veldrovive commented on July 18, 2024

If higher versions of python cause an error I need to fix that. You can fix this for now by taking out the Generic multi-inheritance and then removing the ModelInfo type hint from the other places in the file.

I’m traveling today so I won’t be able to address this immediately.

from dalle2-laion.

tulliopizzuti avatar tulliopizzuti commented on July 18, 2024

Ok thanks for the help, i will try your solution

from dalle2-laion.

Veldrovive avatar Veldrovive commented on July 18, 2024

Multi-inheritance for named tuples was removed in 3.9. So actually downgrading to 3.8 would actually have fixed the issue...

Anyways since this feature will not be supported in the future I will remove this usage when I am back on the ground.

from dalle2-laion.

cinerieus avatar cinerieus commented on July 18, 2024

PR submitted #19 :)
Unless of course you want to remove it entirely.

from dalle2-laion.

Veldrovive avatar Veldrovive commented on July 18, 2024

Pull request was merged in. This issue should now be fixed.

from dalle2-laion.

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.