[HELP] - How to pass multineat.Genome weights to CMA-ES or other optimization algorithms #568
itsron143
started this conversation in
Ask for help
Replies: 1 comment 2 replies
-
Hello, maybe I don’t understand properly but optimizing the genome is not useful since its just a indirect encoding to the body or brain. Therefore optimization probably wont yield anything. Usually you want to optimize the parameters in the developed brain not in its genome. In 4e we use this exact setup where the brain is developed, and then its weights are extracted and optimized. As such i think this is also what you want. Alternatively you can look at the brain class you are using, since all have a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have a few questions about implementing a learner in the modular robot evolution cycle for evolving the brain and body (evolution + learning). The learner would be used to optimize the brain parameters for a body and then continue with the evolution of the robot (brain + body)
I'm unable to understand how to pass the weights of
multineat.Genome
of the brain as parameters to CMA-ES.Following example 4e in revolve2/examples, I was able to understand how to get the weights from
cpg_network_structure
as parameters to CMA-ES and then convert it back to aBrainCpgNetworkStatic
brain usinguniform_from_params()
method.How would the weights of
BrainCpgNetworkNeighborV1
be extracted frommultineat.Genome
to pass it as parameters to CMA-ES and also then develop theBrainCpgNetworkNeighborV1
brain using the updated parameters?Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions