QDax icon indicating copy to clipboard operation
QDax copied to clipboard

MOME Container Implementation does not support non-array Genotypes

Open Lookatator opened this issue 2 years ago • 1 comments

Hi,

It seems the current implementation of the MOME Container does not work if the Genotype is a pytree more general than an array. For example the following line fails to run for Neural Network Genotypes: https://github.com/adaptive-intelligent-robotics/QDax/blob/45c4c2a3eaaae7e78323ad1b19172e55ca68cd3d/qdax/core/containers/mome_repertoire.py#L314

We have a working fix in the lab; which we will clean before submitting it in a PR :)

Lookatator avatar Jan 24 '23 10:01 Lookatator