How to save experiment output?

Problem

I can run my experiment but I am struggling to save the model weights and the csv file with the results when it completes. How can I do that in Neptune?

Solution

Save everything as you go! For example:

1
2
3
4
5
6
...

with neptune.create_experiment() as exp:
    exp.send_artifact('/path/to/model_weights.h5')
    ...
    exp.send_artifact('/path/to/results.csv')

Your results will be available for you to download in the Output section of your experiment.

image