Giter Club home page Giter Club logo

Comments (7)

adamesko avatar adamesko commented on June 21, 2024

I got the same thing - it turns out that you have to set the same resolution as in the source file. It is often not possible to set the exact resolution of the image in the settings so basically you have to prepare your file to match the resolutions that can be set in webui.

from stable-diffusion.

Angelore avatar Angelore commented on June 21, 2024

@Guizmus this seems to be a typo, see this comment: Sygil-Dev/sygil-webui#398 (comment)
The location of the file in this repo is stable-diffusion-hlky\scripts\webui.py

from stable-diffusion.

Guizmus avatar Guizmus commented on June 21, 2024

I tried the proposed fix, and it works, at least in the proposed test case. I'll report on CompVis#398 too

from stable-diffusion.

hlky avatar hlky commented on June 21, 2024

Pushed major txt2img ui overhaul that has img2img working in my tests
Please update and open a new issue if the problem recurs

from stable-diffusion.

Angelore avatar Angelore commented on June 21, 2024

RuntimeError: The size of tensor a (128) must match the size of tensor b (96) at non-singleton dimension 3
It's borked again, sir @hlky .

Looks like you didn't update the offending piece of code: https://github.com/hlky/stable-diffusion/blob/main/scripts/webui.py#L1193
The typo is still there (should be "image = image.convert("RGB")")

from stable-diffusion.

bbecausereasonss avatar bbecausereasonss commented on June 21, 2024

I'm also having this issue now.

from stable-diffusion.

Guizmus avatar Guizmus commented on June 21, 2024

I tested right now after the last commit (fbf814e)

The issue has evolved but is still blocking, I'll open a new issue detailing

from stable-diffusion.

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.