Open maximilianreimer opened 2 years ago
Serialization of Dict Spaces done by AbstractBenchmark does not work properly. See falling tests in https://github.com/automl/DACBench/tree/container_draft/tests/benchmarks
Should be replace by serialization from dacbench.container.container_utils.Encoderand
dacbench.container.container_utils.Decoder` and code should be move somewhere else.
The way of storing spaces will change which requires conversion of existing serialized benchmark configs. We should provide a small script that takes care of this.
Summary:
We should implement #80 before we tackle this
Currently
gym.Spaces
as well as the sample drawn from them are serialized to JSON in different ways producing duplicated code and incompatible formats at a different places of the program.Known serialization code locations:
dacbench.abstract_benchmark.AbstractBenchmark.load_config(...)
dacbench.abstract_env.AbstractEnv.__init__(...)
dacbench.container.container_utils.Encoder
anddacbench.container.container_utils.Decoder
Related to #91 and #80