-
Notifications
You must be signed in to change notification settings - Fork 135
minImages Training Variable #32
Comments
When testing I had set
|
minImages = max(len(images_A),len(images_B)) |
That gives back the same MemoryError. |
You probably don't have enough memory to load ~12k images. In my local I changed that to max(len(images_A),len(images_B)) just as ytn2001 did And then I added a sanity check that if minImages is greater than 6000 log a warning and set it to 6000 |
You use 6000 now? over 4000? Do you know if it's the VRAM or RAM that's the limitation. I'm guessing if you are using 6000 images, then you'd have 12GB of vram. |
This is a limitation around keeping all of the images in memory (RAM). |
I saw that by default dfaker will max out the used images for a given data set at 2000. My A set is under 2000 while my B set is around 12000. Is this code
minImages = 2000
by design to only take in 2000 at a time and it randomizes them? When the script first loads it doesn't just load the first 2000 but all of the images, only the output afterward shows that it's maxing at 2000. Does the script choose the best 2000 to use?If it doesn't, would it be possible to set it to use every photo from each data set? So for example, using 1500 from A and 6204 from B?
When I use the commented extra like this
minImages = min(len(images_A),len(images_B))*20
, it fails to run.The text was updated successfully, but these errors were encountered: