Coder Social home page Coder Social logo

Comments (5)

tannerhallman avatar tannerhallman commented on September 7, 2024

@adnjoo looking at the code myself, it appears that it selects a random one of the layers. It does not have its own deduplication system meaning that it could generate the same output multiple times in one execution. You would need to write your own logic that would ensure no duplicates.

from generative-art-node.

adnjoo avatar adnjoo commented on September 7, 2024

@tannerhallman ah I see. I guess I'll have to write it then haha

from generative-art-node.

akethefirst avatar akethefirst commented on September 7, 2024

@adnjoo do you have code that can fix that

from generative-art-node.

infib1 avatar infib1 commented on September 7, 2024

@adnjoo Hey mate! Do you have any clue how to make the rarity constant working?

from generative-art-node.

cfech avatar cfech commented on September 7, 2024

@adnjoo do you have code that can fix that

Could push the final hash to an array and then not write the next image if the hash matches one already in the array.
Wouldn't solve running the program multiple times but should fix duplicates in the same run.

Could also roll that over into a way to generate all the combinations, say run the loop until you don't get any more new hashes, ex : you don't get a new hash in x amount of iterations. Not fool proof but would work in most cases.

from generative-art-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.