Hacker News new | ask | show | jobs
by d4rkp4ttern 1843 days ago
I have been in search of a very lightweight way to track experiments, so I went to the dvc page and was completely overwhelmed by all of the options. I tried to find the answer to a simple question — how do I log metrics and artifacts from a train/test run? I saw ‘dvc exp run’ (or something like that), but how does it know what my training script is? And what should I add to my code to checkpoint metrics or other stuff at various points in a script?

I was looking for a simple, self contained “getting started” sequence of pip installs and example code, but I found the docs linking all over the place.

I was previously looking at keepsake, an extremely lightweight experiment tracker/logger. But it had some issues working with PyTorch lightning, so I was back searching for something else.

1 comments

DVC has metrics logger similar to other experiment management tool: https://github.com/iterative/dvclive/

Also, metrics & params section of the docs explains this (but yes, it is not perfect yet): https://dvc.org/doc/start/metrics-parameters-plots