Log Dataset, Hyperparams & Metrics¶
-
jovian.
log_dataset
(data, verbose=True)[source]¶ Record dataset details for the current experiment
- Parameters
data (dict) – A python dict or a array of dicts to be recorded as Dataset.
verbose (bool, optional) – By default it prints the acknowledgement, you can remove this by setting the argument to False.
- Example
import jovian data = { 'path': '/datasets/mnist', 'description': '28x28 images of handwritten digits (in grayscale)' } jovian.log_dataset(data)
-
jovian.
log_hyperparams
(data, verbose=True)[source]¶ Record hyperparameters for the current experiment
- Parameters
data (dict) – A python dict or a array of dicts to be recorded as hyperparmeters.
verbose (bool, optional) – By default it prints the acknowledgement, you can remove this by setting the argument to False.
- Example
import jovian hyperparams = { 'arch_name': 'cnn_1', 'lr': .001 } jovian.log_hyperparams(hyperparams)
-
jovian.
log_metrics
(data, verbose=True)[source]¶ Record metrics for the current experiment
- Parameters
data (dict) – A python dict or a array of dicts to be recorded as metrics.
verbose (bool, optional) – By default it prints the acknowledgement, you can remove this by setting the argument to False.
- Example
import jovian metrics = { 'epoch': 1, 'train_loss': .5, 'val_loss': .3, 'acc': .94 } jovian.log_metrics(metrics)