Tracker is a command line utility (CLI) for creating machine learning (ML) projects (using a template project structure), creating experiments, and running and tracking trials. The goal of Tracker is to ease the task of creating reproducible research within ML.
The project is created by ML developers for ML developers.
Creating a new project is easy, simply run the following command and follow the instructions.
tracker create [OPTIONS] CONFIGURATION
Tracker will prompt you for a version control location (git/svn/ssh/...) where a repository will be created automatically, and all files generated by this command will be synced to the remote location.
By envoking the command below you'll get an experiment configuration file wherein all parameters for the trial should be placed.
tracker experiments create [OPTIONS] NAME
When you're ready to run a trial, simply run the command below replacing the NAME with your actual experiment's name and a trial will commence.
tracker experiments run [OPTIONS] EXPERIMENT
Note that by default, Tracker will prompt you for a commit message and push your changes to the user-specified remote location, subsequently obtaining a commit hash which can be stored and linked to the conducted trial.
If you're struggling, don't worry about it. Tracker got your back; simply call for --help
at any level of arguments:
$ tracker --help
Usage: tracker [OPTIONS] COMMAND [ARGS]...
Tracker command line interface.
Options:
--version Show the version and exit.
--verbose Print debug information
--logfile PATH File to be used as a stream for DEBUG logging
--help Show this message and exit.
Commands:
create Creates a new project based on a CONFIGURATION FILE and pushes it...
run Running a new experiment
[...]
$ tracker create --help
Usage: tracker create [OPTIONS] CONFIGURATION
Creates a new project based on a CONFIGURATION FILE and pushes it to the
chosen git repository
Options:
--help Show this message and exit.
Please note that Tracker is not released to pypi yet. See INSTALL.md for how to install from source.
# Install Tracker
pip3 install dti-tracker
# Enable bash autocompletion for Tracker on boot
echo "" >> ~/.bashrc
echo "# Bash autocompletion for Tracker" >> ~/.bashrc
echo 'eval "$(_TRACKER_COMPLETE=source tracker)"' >> ~/.bashrc
source ~/.bashrc
You can check whether Tracker is installed correctly by running the included tests.
cd tracker/
make test
We acknowledge that using Tracker can seem a bit overwhelming to begin with, so here are a few definitions that will help you get started:
tracker create CONF_FILE.yaml
. The project will contain all experiments and trials (definitions below).tracker experiments create NAME
.Installation problems? Feature requests? General questions?
We welcome contributions to Tracker by the community! Please refer to the Contribution Guide.
This project is developed by the DTI AI Research Team at Center for Robot Technology. Nicolai Anton Lynnerup originally developed the CLI. The CLI is heavily inspired by GuildAI, customised to our needs.
For Tracker, please cite Lynnerup et al. (2019).
This is the part where I say something thoughtful about how wonderful it is to create reproducible research. And what a wonderful person you are for choosing to follow good experimental practices.
But hey, you made it all the way here, so you already know this stuff.
So if there is something else that you still feel you don’t know, please explore the documentation and/or get in touch with me.