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
I've set up a Load Image Batch node to select from a few hundred different images in several subfolders, using the "*/**" pattern and Random mode. But around 8 out of 10 that come up are the same few on rotation. What could be causing this and is there a way around it?
The text was updated successfully, but these errors were encountered:
random is incredibly un-random, is really the issue likely. In ComfyUI you'll notice if you select from a range of numbers you get the same repeated vales all the time. The best way around that is simply a better random number generator.
I can't see anything wrong with the code. It simply grabs a random number between 0 and the number of images detected, and selects a random index.
I've set up a Load Image Batch node to select from a few hundred different images in several subfolders, using the "*/**" pattern and Random mode. But around 8 out of 10 that come up are the same few on rotation. What could be causing this and is there a way around it?
The text was updated successfully, but these errors were encountered: