ahni icon indicating copy to clipboard operation
ahni copied to clipboard

Unable to run experiments

Open NMVRodrigues opened this issue 7 years ago • 7 comments

Greetings, i just downlaod your project and was trying to run the examples, however only the or2 or3 and or4 tests can be run, all the others give a massive chain error. Tried opening the project on eclipse and it shows and error in neat/WeightMutationOperator, using the sugested eclipse error solve wont fix the problem as the same chain error occurs while trying to run the tests.

Did i do something wrong or is it a known bug?

NMVRodrigues avatar Sep 14 '17 20:09 NMVRodrigues

Hi. first, I haven't touched AHNI for quite a long time - have been working on its (eventual) successor Europa. Could you paste an example of the error chain you're seeing?

OliverColeman avatar Sep 14 '17 21:09 OliverColeman

Will make sure to test Europa out when i get the chance.

Here is part of the chain error when running retina-problem-hyperneat.

NMVRodrigues avatar Sep 14 '17 21:09 NMVRodrigues

It looks like there's an issue reading/interpreting the properties file. I need to see the entire error chain though, can you either paste it as text or attach it as a text file?

OliverColeman avatar Sep 15 '17 02:09 OliverColeman

Here is a file containing the entire error chain.

error.txt

NMVRodrigues avatar Sep 15 '17 08:09 NMVRodrigues

Okay, this is caused by an apparent issue with the properties file. At some point the code was changed so that it became an error to specify a coordinate range with the highest value first eg (1, 0.25) instead of (0.25 ,1). If you change the line ann.hyperneat.range.z=1,0.25 to ann.hyperneat.range.z=0.25,1 it will run. I made it so the exception message gives more useful info so this sort of thing is easier to debug in the future. However it looks like there are some other issues to do with speciation in NEAT so the experiment no longer reproduces the expected result. I don't have time to dig into this (I'm no longer actively maintaining this project) but if you do and figure it out let me know...

OliverColeman avatar Sep 15 '17 22:09 OliverColeman

Thank you very much for fix, i'll let you know if i am able to figure out the problem.

NMVRodrigues avatar Sep 15 '17 23:09 NMVRodrigues

One last thing, im assuming the problem with the other non working test is the ann.hyperneat.range.z parameter as well?

NMVRodrigues avatar Sep 15 '17 23:09 NMVRodrigues