-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
network evolve error: ReferenceError: regeneratorRuntime is not defined #244
Comments
Update: version 0.3.18 works |
Okay excellent, should we close this issue? |
No Sorry, my update wasn't clear: v0.3.18 works |
I think that's a bug with parcel bundler or webpack. Caused by some wrong settings at building the compact files. |
Also @christianechevarria @luiscarbonell we should implement a CI test that checks the build javascript files. |
@tracycollins can you check if it works on this branch? |
no, didn't work. fails with the same error. |
What about this file? https://gist.github.com/raimannma/95706ec9af955a413b25161b72e075e9 |
SORRY! THIS DOES WORK Pilot error when I tested it before. Haven't tried your 2nd fix yet |
Also, sorry for the delay. I'm in a class... |
ok, so my first commit fixes your problem ? If so, i would push it to master. |
yes, push please |
Just waiting for approve from @christianechevarria or @luiscarbonell . |
I'm sorry, but it seems that this was never fixed; I had pinned the version to 0.3.18 and wasn't testing against the latest version, v0.3.20, which fails. running on node 12.18.3 To reproduce, a file with only the following line fails with the error 'MODULE_NOT_FOUND'
the error message:
|
@christianechevarria Maybe this comes from the dependency updates in version 0.3.19 |
The issue particularly is in the dist so I'm guessing this is Webpack / Rollup related |
Same issue with 0.3.20. |
Description
After updating to the latest version, network evolve crashes with this error:
To Reproduce
I have not yet put together an example to show this bug, but can if you need
The evolve params were:
cost: MSE,
efficientMutation: true,
elitism: 2,
equal: true,
error: 0.05,
fitnessPopulation: true,
growth: 0.000058676602433414615,
iterations: 10,
mutation: [
{ name: 'ADD_NODE' },
{ name: 'SUB_NODE', keep_gates: true },
{ name: 'ADD_CONN' },
{ name: 'REMOVE_CONN' },
{ name: 'MOD_WEIGHT', min: -1, max: 1 },
{ name: 'MOD_BIAS', min: -1, max: 1 },
{ name: 'MOD_ACTIVATION', mutateOutput: true, allowed: [Array] },
{ name: 'SWAP_NODES', mutateOutput: true }
],
mutationAmount: 1,
mutationRate: 0.6947879778477388,
network: null,
popsize: 20,
populationSize: 20,
provenance: 0,
schedule: { function: [Function: function], iterations: 1 },
selection: { name: 'FITNESS_PROPORTIONATE' },
threads: 4,
population_size: 20,
mutation_rate: 0.6947879778477388,
mutation_amount: 1,
fitness_population: true,
max_nodes: undefined
Tasks
The text was updated successfully, but these errors were encountered: