Jon-Becker / nft-generator-py

This tool allows users to generate sets of unique images and metadata using weighted layer collections.
MIT License
304 stars 126 forks source link

Increasing amount causes failure after adding more incompatibilities #13

Closed Atekom closed 2 years ago

Atekom commented 2 years ago

Hi there, thanks for providing this resource. It helps for learning. Testing, I have been growing the number of incompatibilities between traits and layers. Removing a few target blocks of incompatibilities, you can generate 1000 or more. Adding those sections back will see premature finish with exit code -1073741571 (0xC00000FD) However you can then generate about 200 but exceeding that will again result in EC: -1073741571 (0xC00000FD)

Does it need more assets in this situation due to growing the number of incompatibilities limiting the total number of possible outcomes below 200?

Jon-Becker commented 2 years ago

Good issue. I'll take a look at a fix later tomorrow. Thanks!

By any chance can you send me your settings by email so I can reproduce this issue?

Jon-Becker commented 2 years ago

Are you sure there are enough layers to generate amount images?

The error is encountered when it can't make any more unique images.

Atekom commented 2 years ago

I believe the number of possible combinations might have been reduced due to creating more and more incompatibilities.

That would indicate so if it is only encountered after implementing increasing incompatibilities to make better outputs.

Fantastic job at efficiency it is very fun to learn about and experiment with!

Jon-Becker commented 2 years ago

Yeah if you add incompatibilities it cuts down how many unique images may be created. Keep that in mind when selecting an amount to generate.

Thank you for the support! If you don't need anything else, feel free to close this issue :)