Experiment

Github Open In Colab

labmlml will keep track of experiments if you declare an Experiment. It will keep track of logs, code diffs, git commits, etc.

%%capture
!pip install labml
from labml import experiment

The name defaults to the calling python filename. However when invoking from a Jupyter Notebook it must be provided because the library cannot find the calling file name. comment can be changed later from Dashboard.

experiment.create(name="mnist_pytorch",
                  comment="Test")

Starting an experiments creates folders, stores the experiment configurations, git commits, and source diffs.

experiment.start()
mnist_pytorch: 2ade3718392c11ebaaadacde48001122
    Test
    [dirty]: "link nn"
<labml.internal.experiment.watcher.ExperimentWatcher at 0x7fea72e508d0>

--------------------------------------------------
LABML WARNING
LabML App Warning: empty_token: Please create a valid token at https://web.lab-ml.com.
Click on the experiment link to monitor the experiment and add it to your experiments list.
--------------------------------------------------
Monitor experiment at https://web.lab-ml.com/run?run_uuid=2ade3718392c11ebaaadacde48001122

You can also start from a previously saved checkpoint.

experiment.load(run_uuid='XXX')