GithubHelp home page GithubHelp logo

Comments (4)

Erickson400 avatar Erickson400 commented on June 7, 2024 1

yup that worked, i se the num_initial_links param to 2 and its not freezing. thanks

from neat_for_godot.

Erickson400 avatar Erickson400 commented on June 7, 2024

It seems to be an infinite loop on line 129 of ga.gd

from neat_for_godot.

Erickson400 avatar Erickson400 commented on June 7, 2024

ok i found out i cant have less than 2 outputs. if i put 1 output only then its going to freeze

from neat_for_godot.

pastra98 avatar pastra98 commented on June 7, 2024

Hi, that's interesting. I don't see why 1 output should cause issues...
Check out the GA constructor in the XOR demo, it has pretty much the same setup as your Dino game.

My guess would be that your number of initial links is > 2. In the Xor config, it is set to 2.

It will try to create at least as many links as you specify in the config, but each link can only connect 2 unique nodes. In a setup with 2 inputs and 1 output, there's just two possibilities.

Let me know if thats your issue, I should add that to the wiki, or implement a check for this in the GA constructor.

from neat_for_godot.

Related Issues (8)

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.