rounakbanik / generative-art-nft

A generative art library for NFT avatar and collectible projects.
MIT License
746 stars 369 forks source link

Miss image after generation #8

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi,

I generate a collection with your tools but i have a problem. I try to generate 11 000 NFT.

The return of the script is good, the metadata.csv contain the date of 11 000 distincts NFT but only 1500 images are created when i open the folder.

You can create a total of 36578304000 distinct avatars How many avatars would you like to create? Enter a number greater than 0: 11000 What would you like to call this edition?: test#1 Starting task... 100% (11000 of 11000) |############################################################| Elapsed Time: 0:03:26 Time: 0:03:26 Generated 11000 images, 10500 are distinct Removing 500 images... Saving metadata... Task complete!

ElrondPower commented 2 years ago

I am encountering a similar issue. I believe the issue is that the script will generate X variations, based on the input you give it. However there is not guarantee these variations are distinct. Example in my case:

2021-12-29_CommandPrompt_01

Would be great if:

  1. the script made sure the variations generated are indeed distinct
  2. the metadata was improved by a. having name "id" for first column, b. the id column's numbering should have trailing 0s to reflect better file name and c. add a column to metadata with the exact filename generated.
levintech commented 2 years ago

That issue is caused because the script remove the duplicated items after generate N collections. I fixed this issue and push on my repo. By using the updated script, you can generate unique N collections easily. Hope to helpful to you.