Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is not possible to generate more than 5 nft with my config. #29

Closed
Puffini opened this issue Feb 13, 2022 · 4 comments
Closed

it is not possible to generate more than 5 nft with my config. #29

Puffini opened this issue Feb 13, 2022 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@Puffini
Copy link

Puffini commented Feb 13, 2022

the process simply dies if I set a value greater than 5, and with a standard code greater than 20 is not generated "The kernel 'Python 3.10.2 64-bit' died. "
`generate_unique_images(5, {
"layers": [
{
"name": "Background",
"values": ["Common", "Uncommon", "Rare", "Epic", "Legendary"],
"trait_path": "./trait-layers/backgrounds",
"filename": ["blue", "orange", "purple", "red", "yellow"],
"weights": [40,35,15,9,1]
},
{
"name": "Foreground",
"values": ["Qw, "Qs","Qe","Qr","Qt" ],
"trait_path": "./trait-layers/foreground",
"filename": ["qw", "qs", "qe", "qr", "qt"],
"weights": [20,20,20,20,20]
},

],
"incompatibilities": [
{
"layer": "Foreground",
"value": "Qw",
"incompatible_with": ["Uncommon", "Rare", "Epic", "Legendary"]
},
{
"layer": "Foreground",
"value": "Qs",
"incompatible_with": ["Common", "Rare", "Epic", "Legendary"]
},
{
"layer": "Foreground",
"value": "Qe",
"incompatible_with": ["Common", "Uncommon", "Epic", "Legendary"]
},
{
"layer": "Foreground",
"value": "Qr",
"incompatible_with": ["Common", "Uncommon", "Rare", "Legendary"]
},
{
"layer": "Foreground",
"value": "Qt",
"incompatible_with": ["Common", "Uncommon", "Rare", "Epic"]
},
],
"baseURI": ".",
"name": "NFT #",
"description": "Generation 0"
})`

@Jon-Becker
Copy link
Owner

See #2.

@Jon-Becker Jon-Becker added the duplicate This issue or pull request already exists label Feb 13, 2022
@Puffini Puffini closed this as completed Feb 13, 2022
@Jon-Becker
Copy link
Owner

If that didn't solve it, let me know.

@Puffini
Copy link
Author

Puffini commented Feb 13, 2022

what can I write to not use new layers, but just make them unique through id?

@Jon-Becker
Copy link
Owner

What do you mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants