How to save experiment output?

Problem

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

Solution

Save everything to a special /output directory. For example:

1
2
3
4
...
model.save('/output/model_weights.h5')
...
results.to_csv('/output/results.csv', index=None)

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

image

See also