Description:
the results.yaml file that is the output of the evaluation pipeline includes data on ape, rpe trans, and rpe rot for each pipeline of each dataset. These are also used to create the aggregate ape boxplots and tex tables.
However, these files store the data from evo.core.metric as numpy arrays. When calling yaml.dump on non-python-primitives like this, the module stores the data in a format only readable by the same yaml loader. This isn't a problem if we use the same module to dump and load, but it would be a problem if:
Anyone wants to read the results file themselves
Anyone wants to load the results file using some other loader from another library or even another language
Description: the
results.yaml
file that is the output of the evaluation pipeline includes data on ape, rpe trans, and rpe rot for each pipeline of each dataset. These are also used to create the aggregate ape boxplots and tex tables.However, these files store the data from
evo.core.metric
as numpy arrays. When callingyaml.dump
on non-python-primitives like this, the module stores the data in a format only readable by the same yaml loader. This isn't a problem if we use the same module to dump and load, but it would be a problem if:Example: