Quickstart example
import neptune
exp = neptune.init(project='neptune/sandbox')
# track hyperparameters of your experiment exp['parameters/batch_size'] = 5 exp['parameters/algorithm'] = 'ConvNet'
# track the training process by logging your training metrics
for epoch in range(100):
exp['train/accuracy'].log(0.98) exp['train/loss'].log(0.053) exp['my_debug/predictions'].log(neptune.Image('misclassifed.png'))
# track the final results
exp['f1_score'] = 0.66 exp['trained_model'].save('path/to/your/model.h5')
You can think of experiments as dict-like structures. Look at the following example:
exp['parameters/batch_size'] = 5
exp['parameters/algorithm'] = 'ConvNet'
exp['accuracy'].log(0.95)
exp['accuracy'].log(0.96)
exp['accuracy'].log(0.97)
exp['results/trained_model'].save('path/to/your/model')
that will result in the following experiment structure:
parameters:
batch_size: Integer
algorithm: String
accuracy: FloatSeries
results:
trained_model: Files
Experiment structure will consists of variables that can be organized into namespaces.