nft_art_generator's People
Forkers
vastav jamesdodo marioacarvalho saintmichael-arch jameslin101 oboxodo soulthym yobyron 7solana alanlv gargomoma cori1109 philobbe c00renut vishal2241 vigneshiyergithub kishonsd haakwil mhvuze ichoake ahmedaisar wanghaisheng arvacode tastygamerbot williamsin9g soth912 brokenstein ressefan totoro2205 mert-zengin nnayelugo hbashanae jecky100000 daveshvats 5l1v3r1 network-technology-academy-institutenft_art_generator's Issues
FileNotFoundError: [Errno 2] No such file or directory: 'Desktop/NFT_Art_Generator/example/layers_map.json'
project_folder = 'Desktop/NFT_Art_Generator/example/'
total_art = 10000
layers_folder = 'example/layers'
layers_map_path = 'example\'
attribute_map_path = 'example\'
image_output_path = 'example\outputs\'
No matter what I do or hw I change the paths I still get that error with the layers. Any reccomendations of what causes the error?
!_src.empty() in function 'cvtColor'
File "generator.py", line 130, in
generate_art()
File "generator.py", line 72, in generate_art
fg = cv2.cvtColor(fg, cv2.COLOR_RGB2RGBA)
cv2.error: OpenCV(4.5.4-dev) /Users/runner/work/opencv-python/opencv-python/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
transparent background
The current code makes a black background, how can we change it for transparent?
Lower dimension images / Output not reproducible
Very nice contribution!
Two inquiries:
- I assume your pics are 128x128. How do you handle lower sizes? In my case, 28x28, the generated images are very low quality.
- After cloning your project and executing (e.g.:
total_art = 10
), the generated images are not congruent with your example. I mean, some of them would have background, while others would not. And the same situation with other attributes. What may be the cause?
adjust weight for atributes paramaters
Can you explain these parameters
"att_chance": 1.0,
"black_list_att": []
"" attributes instead of : "0_no_attributes"
In attributes, we get some attributes with "" instead of : "0_no_attributes"
"01_Backgroud": ""
instead of
"01_Backgroud": "0_no_attributes"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.