light-and-ray / sd-webui-replacer

A tab for sd-webui for replacing objects in pictures or videos using detection prompt
193 stars 11 forks source link

"List index out of range" from ui\generate_ui.py lines 315, 341 #79

Closed cdag98 closed 2 months ago

cdag98 commented 3 months ago

When I try to run Replacer, I get this error right when it should save the initial temp image/pass it to hiresfix.

Screenshot 2024-05-26 131850

I have checked all the settings and can't find anything referencing the ones in the error message. All of my other extensions work except this one so I'm pretty sure it's not another add-on causing the issue. I don't really know much about coding but the error refers to specific lines so I was hoping someone who knows more can tell me what's wrong.

light-and-ray commented 3 months ago

It's strange that in your case there was no "no one image was generated" error and processed.images is empty. It is a strange case, can you explain which extensions you used, and the full console log

cdag98 commented 3 months ago

can you explain which extensions you used,

everything below TensorRT is stuff i have installed and tested. Replacer crashes by itself or with any combo of otherwise-functional extensions after successfully inpainting. The file is being generated but I guess it can't be located by the upscale module? Can't find a setting to add a path for that.

Screenshot 2024-05-31 190208

and the full console log

When I run Replacer solo I also get the error "No one image was processed. See console logs for exceptions" but the console has a progress bar and no text. That console matches the top 3 rows of this initial error log exactly (coincidence?)

Screenshot 2024-05-31 185535

light-and-ray commented 3 months ago

Show me the full console log