Open zerobell-lee opened 5 months ago
Did, you, like try changing the mode to single_image
? hehe
if mode == 'single_image':
image, filename = fl.get_image_by_id(index)
if image == None:
cstr(f"No valid image was found for the inded `{index}`").error.print()
return (None, None)
I was making images in batch processes, and I rebooted my PC for some reason. And I got the batch index reset.
Even though I tried specifying
index
parameter, such as124
. it didn't work. It starts with 0 again.So I investigated source code.
it even does not use
index
parameter in the loader. Only when I'm doing continuous task at the same environment, I can get indices sequential. So there is no way to start with specific index.Then, what is
index
parameter standing for?