Giter Club home page Giter Club logo

Comments (5)

bbecausereasonss avatar bbecausereasonss commented on August 18, 2024 2

RuntimeError: The size of tensor a (135) must match the size of tensor b (64) at non-singleton dimension 3

from stable-diffusion.

busyfree avatar busyfree commented on August 18, 2024 1

same error too, default parameters with img2img,but when after do mask drawing then img2img can worked.

from stable-diffusion.

hlky avatar hlky commented on August 18, 2024

Notes: RGBA vs RGB?

from stable-diffusion.

yourjelly avatar yourjelly commented on August 18, 2024

For the record these modes were not causing this error previously.

from stable-diffusion.

vinyvince avatar vinyvince commented on August 18, 2024

Hola :)

I updated 2 days ago, with the new interface, i have so many issue with img to work...
I don't know, very capricious, most of the time with non mask option, it will just not work, complaining the following

File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 639, in process_api
processed_input = self.preprocess_data(fn_index, raw_input, state)
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 543, in preprocess_data
processed_input.append(block.preprocess(raw_input[i]))
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\components.py", line 1548, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\processing_utils.py", line 28, in decode_base64_to_image
content = encoding.split(";")[1]
IndexError: list index out of range
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\routes.py", line 247, in run_predict
output = await app.blocks.process_api(
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 639, in process_api
processed_input = self.preprocess_data(fn_index, raw_input, state)
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 543, in preprocess_data
processed_input.append(block.preprocess(raw_input[i]))
File "C:\ProgramData\Miniconda3\envs\ldo\lib\site-packages\gradio\components.py", line 1546, in preprocess
x, mask = x["image"], x["mask"]
TypeError: string indices must be integers

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.