Tracking utils

Functions that help with tracking of experiments

source

get_git_hash

 get_git_hash (directory:str, tracking:bool=False,
               tracking_tool:Literal['wandb']='wandb')

Get the git hash and optionally track

Type Default Details
directory str the directory where the git repository is located
tracking bool False whether to directly track the git revision hash
tracking_tool Literal wandb Currently only wandb is supported
Returns str

source

get_library_version

 get_library_version (library_name:str, tracking:bool=False,
                      tracking_tool:Literal['wandb']='wandb')

Get the version of a specified library and optionally track it

Type Default Details
library_name str
tracking bool False Whether to directly track the library version
tracking_tool Literal wandb Currently only wandb is supported
Returns str

Example usage for the check_parameter_types function.