OedoSoldier / sd-webui-image-sequence-toolkit

Extension for AUTOMATIC111's WebUI
Apache License 2.0
564 stars 41 forks source link

Why is my process sorting the images by random number instead of in a sequential order? #9

Closed wicebing closed 1 year ago

wicebing commented 1 year ago

Although my PNG files are named sequentially from 00000.png to 00584.png, the processing is being done in a random order instead of in the correct sequence.

Anyway, thank you very much for your method of video m2m. It's great work. I had an idea of adapting the SD model, and I see that you've already done it.

wicebing commented 1 year ago

Maybe could add "images.sort()" at [line 247] or [line 288] of enhanced-img2img.py to ensure the images are sorted before processing them.

reference_imgs.sort() to line 97 in multi-frame_render.py

OedoSoldier commented 1 year ago

Good idea, added #11