You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for your work. When generating an image, I want it to keep the name of the source image, rather than renaming it to a name like 'sample_1' through the following code.
The text was updated successfully, but these errors were encountered:
Unfortunately, we did not implement such a functionality. If one requires to preserve the file names, one can implement a post-processing step and rename the sample_{index}.{ext} images back into the original file names.
This process is relatively straightforward since {index} corresponds to the position of the original file name when they are sorted in lexicographical order. For example, if the original file names are:
apple.jpg
cherry.jpg
banana.jpg
they will be assigned the following indices (based on their sorted order)
Hi, thank you for your work. When generating an image, I want it to keep the name of the source image, rather than renaming it to a name like 'sample_1' through the following code.
The text was updated successfully, but these errors were encountered: