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

I got issue when click recombine of Ebsynth-Process or Run of Batch-Warp #20

Open
andyvha opened this issue Apr 24, 2023 · 14 comments
Open

Comments

@andyvha
Copy link

andyvha commented Apr 24, 2023

After finish Pre-Processing, I move to Ebsynth-Process and click prepare ebsynth to create frames. Then I go to img2img to create new img from batch. I come back Ebsynth-Process and click recombine ebsynth then get error like attached photo.

Would you pls help why I got this issue. Thank you.
ebsynth-process-error-Snapshot_230425005702

I have same issue when click run of batch-wrap
batch-error-Snapshot_230425004852

@andyvha andyvha changed the title I got issue when click Run in Ebsynth-Process or Batch-Warp I got issue when click recombine of Ebsynth-Process or Run off Batch-Warp Apr 24, 2023
@andyvha andyvha changed the title I got issue when click recombine of Ebsynth-Process or Run off Batch-Warp I got issue when click recombine of Ebsynth-Process or Run of Batch-Warp Apr 24, 2023
@CiaraStrawberry
Copy link
Owner

THis is saying there is nothing in your keys folder in that directory, the keys folder has to be in the same folder as the ebsynth output folders

@hl123-123
Copy link

I also encountered the same problem with batch wrap, but I don't know how to solve it

@hl123-123
Copy link

THis is saying there is nothing in your keys folder in that directory, the keys folder has to be in the same folder as the ebsynth output folders

So where should I set the key folder

@CiaraStrawberry
Copy link
Owner

it should autogenerate when ebsynth is enabled when you click the "prepare ebsynth" button in the correct folder

@bresende7
Copy link

I'm getting the same error, even though my Key folder is in the same directory as the output folder as it is autogenerated when I enabled ebsynth

@FranM2030
Copy link

I had the same error but later noticed that I had forgotten to process one of the sub folders with ebsynth, so double check that

@joejoj0
Copy link

joejoj0 commented May 2, 2023

It seems like you're encountering an IndexError in your code, specifically at the line:

lua
Copy code
image1_path = os.path.join(current_dir, images_current[j])
The error occurs because the variable j is referencing an index that is out of range for the images_current list. To fix this, you should ensure that j is always within the bounds of the list.

Here's what you can do:

Double-check how you're generating the j variable and make sure it stays within the bounds of the list.
Ensure that images_current is being populated correctly and is not an empty list.
To provide a more specific solution, I'd need more context on how the j variable and the images_current list are being generated in your code. this is what shatgpt said but i still dont know how or what im doing....

@joejoj0
Copy link

joejoj0 commented May 2, 2023

it should autogenerate when ebsynth is enabled when you click the "prepare ebsynth" button in the correct folder
it is autogenerated but im still getting the same error.

@orfeaus
Copy link

orfeaus commented May 7, 2023

Same error here even though the keys folder is in the correct place.

@mansonchen29
Copy link

Same error too

@Bellatrixie
Copy link

Bellatrixie commented May 29, 2023

Possible solution here.

In my case, there was just a simple naming problem.

  1. Make sure that in output/ folder files are named in format like this: "input_0001.png".
  2. Make sure that in keys/ folder files are names in format like this "keys0001.png".

If you did something manually, or used different methods to create output files, this could create such problem. Just re-check everything, especially naming of files and folders, and if it still doesn't work, then repeat process again (remaking output images aren't necessary tho, if the naming is correct and they are placed in output/ folder).

@trxsudo
Copy link

trxsudo commented Jun 8, 2023

i have the exact same issue. has anyone been able to solve this?

@AeonShadowJaguar
Copy link

I watched the tutorial and checked above but I’m having a similar problem.
Whenever I run batch img2img it generates one image from the input folder into the output folder and then crashes when attempting to generate the next image.
They are all named by default, the numbers are sequential, (input0, input1, input2, etc…), all in png format by default.

I’m getting:

“Seed”: p.all_seeds[0] if use_main_prompt else all_seeds[index],
IndexError: list index out of range

I started with a seed as one was used in the tutorial and then also tried with the seed set to -1. Crashes both times.

@AeonShadowJaguar
Copy link

IMG_7680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests