mle-infrastructure / mle-toolbox

Lightweight Tool to Manage Distributed ML Experiments 🛠
https://mle-infrastructure.github.io/mle_toolbox/toolbox/
MIT License
2 stars 0 forks source link

Bullet-proof way to `update_log` #50

Closed RobertTLange closed 3 years ago

RobertTLange commented 3 years ago

As of right now the MLE_Logger module is updated based on two lists of time measurements and statistic measurements:

logger.update_log(clock_tick, stats_tick, model=None,  plot_to_tboard=None,  save=False)

This is not bullet proof and can be hard to debug. I would like to have this be dictionary based. At the start of each update update_log should check if all keys are there. Afterwards, the data is added to the .hdf5 log. Thereby, the order of how the data is given as an input does no longer matter.

Thoughts:

RobertTLange commented 3 years ago

Addressed in 4a67bd1b190935c3df541023edbb9eebde3fa965. Also updated all examples and template files.