It is not generating image #277
-
PS D:\CodeProject\art-engine> node index.js It only generates one image. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Every image is being generated the exact same (same DNA), so it is ignoring duplicates. You need to have a weighting on every item in your folders (or on the folders themselves if you want everything in the folder to be drawn). I suggest a mass renaming tool like ReNamer to add a |
Beta Was this translation helpful? Give feedback.
Every image is being generated the exact same (same DNA), so it is ignoring duplicates.
It looks like you don't have any '#' weightings on any of your pngs. So every image will contain every item which will result in every item being the exact same.
You need to have a weighting on every item in your folders (or on the folders themselves if you want everything in the folder to be drawn).
eg: 'female_l#20.png', 'female_h#20.png', 'female_a#20.png'
assuming the above images are in the same folder, that weighting gives each of them an equal chance to be selected (the number at the end can be anything, it's not a percent, it's relative to everything at the same folder level).
Anything without …