Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image to image generates an error #33

Closed
reslip1 opened this issue Sep 4, 2022 · 3 comments
Closed

Image to image generates an error #33

reslip1 opened this issue Sep 4, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@reslip1
Copy link

reslip1 commented Sep 4, 2022

Has this issue been opened before? Check the FAQ, the issues and in the issues in the WebUI repo

Describe the bug
Img 2 img generates an error.
Traceback (most recent call last):
stable-diffusion-webui-docker-model-1 | File "/opt/conda/lib/python3.8/site-packages/gradio/routes.py", line 247, in run_predict
stable-diffusion-webui-docker-model-1 | output = await app.blocks.process_api(
stable-diffusion-webui-docker-model-1 | File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 639, in process_api
stable-diffusion-webui-docker-model-1 | processed_input = self.preprocess_data(fn_index, raw_input, state)
stable-diffusion-webui-docker-model-1 | File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 543, in preprocess_data
stable-diffusion-webui-docker-model-1 | processed_input.append(block.preprocess(raw_input[i]))
stable-diffusion-webui-docker-model-1 | File "/opt/conda/lib/python3.8/site-packages/gradio/components.py", line 1546, in preprocess
stable-diffusion-webui-docker-model-1 | x, mask = x["image"], x["mask"]
stable-diffusion-webui-docker-model-1 | TypeError: string indices must be integers

Steps to Reproduce

  1. Go to img 2 img unified and enter a sample image in img2img and a prompt
  2. Click on generate
  3. Look in docker log
  4. See error

Hardware / Software:

  • OS: Windows 10 - WSL2 - Ubuntu
  • GPU: Nvidia 2070 Super
  • Version Built 9/4/2022

Additional context
Any other context about the problem here. If applicable, add screenshots to help explain your problem.

@reslip1 reslip1 added the bug Something isn't working label Sep 4, 2022
@AbdBarho
Copy link
Owner

AbdBarho commented Sep 4, 2022

Bug in main Repo Sygil-Dev/sygil-webui#610

I will update once its fixed

@AbdBarho
Copy link
Owner

AbdBarho commented Sep 8, 2022

@reslip1 the problem should be fixed now, can you try again from latest master?

@AbdBarho AbdBarho added the awaiting-response Waiting for the issuer to respond label Sep 8, 2022
@reslip1
Copy link
Author

reslip1 commented Sep 8, 2022

Rebuilt using latest repo and tried crop and mask and they both worked. Thanks!

@reslip1 reslip1 closed this as completed Sep 8, 2022
@AbdBarho AbdBarho removed the awaiting-response Waiting for the issuer to respond label Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants