Open Milor123 opened 5 months ago
Not sure. I didn't have issues with incremented file, and that's exactly what the code does in general with the list:
self.load_images(directory_path, pattern)
self.image_paths.sort()
Which sorts the list lexicographic, regardless of the mode it's on.
Same problem, it doesnt seem to sorts. In my folder it is : But when i use Load Image Batch with the follwoing workflow:
I could see from the Show Text node that it wasnt in the order. It is strange.
BTW, what does "label" mean and how does it influence the output? I did modify it but nothing happened.
I can't reproduce the issue. The class sorts the list explicitly, and that sorting is lexicographic, the same as say Windows File Explorer you take pictures of.
Here's an example of incrementing, and single index:
@Zeelyne By any chance, could it be that your output order is 10uComfyUI.png
, 11uComfyUI.png
, ... 1uComfyUI.png
, 20uComfyUI.png
, ...? Because that's what happens when you sort these file names alphabetically. You should try to zero-pad them.
How can I load a folder of images, and that it keep the order?
I have this config
but the problems is that the image generator dont have sense, it looks like Random generator, i have it in incremental
how can i do send me the imagenes by name order? Please help! Thank u very much