question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

popsize more than 500 crashes

See original GitHub issue

When I set my popsize on Neat over 500 it crashes when I run neat.evolve(). I’m using the latest version of Node.js and Carrot. The memory with popsize as 500 is only ~100megs, so that doesn’t seem to be the issue.

(node:19260) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'score' of undefined
    at Neat.evolve (D:\Git\DayTradingBot\DayTradingBot\node_modules\@liquid-carrot\carrot\src\neat.js:140:32)
    at endEvaluation (D:\Git\DayTradingBot\DayTradingBot\app.js:480:10)
    at learnData (D:\Git\DayTradingBot\DayTradingBot\app.js:325:13)
    at downloadBtcData (D:\Git\DayTradingBot\DayTradingBot\app.js:229:5)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)
(node:19260) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19260) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:12304) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toJSON' of undefined
    at Neat.export (D:\Git\DayTradingBot\DayTradingBot\node_modules\@liquid-carrot\carrot\src\neat.js:346:24)
    at learnData (D:\Git\DayTradingBot\DayTradingBot\app.js:342:60)
    at downloadBtcData (D:\Git\DayTradingBot\DayTradingBot\app.js:229:5)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)
(node:12304) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 11)```

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dan-ryancommented, May 22, 2019

I’m still having generation count issues. Sometimes it works a little higher than a population size of 500 but usually, 2000+ doesn’t.

1reaction
dan-ryancommented, May 22, 2019

Great. I’ll test it with the latest code later tonight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Biggest ever Adelaide 500 crashes | Supercars 2022 - YouTube
The streets of Adelaide have caught out some of Supercars' all-time best. The Repco Supercars Championship (formally Australian Touring Car ...
Read more >
Vehicle size and weight - IIHS
An analysis of crashes in 2000-01 involving 1997-99 model vehicles showed that SUVs and pickups were much more likely than cars or minivans...
Read more >
RS 32:398 - Louisiana Laws - Louisiana State Legislature
(1) The Department of Transportation and Development shall receive crash data derived from the crash reports and may tabulate and analyze the data...
Read more >
scipy.optimize.differential_evolution — SciPy v1.9.3 Manual
When val is greater than one the function halts. If callback returns True, then the minimization is halted (any polishing is still carried...
Read more >
Indianapolis 500: Every crash from Sunday's race, from Rinus ...
Attrition is apart of every Indianapolis 500. ... Access the digital replica of USA TODAY and more than 200 local newspapers with your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found