Skip to main content

Neptune API

The Neptune Scale API consists of two Python packages:

Setup

For installation instructions, see Get started.

Usage

To import Neptune in your model-training code:

from neptune_scale import Run

You can then work with Run objects to create or resume experiments:

run = Run(...)

Error handling

If an unrecoverable error is encountered, you can terminate the failed run in an error callback without interrupting your training.

For details, see terminate()