Any IDE
You can execute your runs in any environment and log them to Neptune. There are just two things you need to do:
    1.
    install neptune-client,
    2.
    add metadata tracking to your code-base.

Install neptune-client

Depending on your operating system open a terminal or CMD and run this command:
pip
conda
1
pip install neptune-client
Copied!
1
conda install -c conda-forge neptune-client
Copied!

Add metadata tracking to your scripts

1
import neptune.new as neptune
2
3
run = neptune.init(project='common/quickstarts',
4
api_token='ANONYMOUS')
5
6
# Track metadata and hyperparameters of your run
7
run["JIRA"] = "NPT-952"
8
run["algorithm"] = "ConvNet"
9
10
params = {
11
"batch_size": 64,
12
"dropout": 0.2,
13
"learning_rate": 0.001,
14
"optimizer": "Adam"
15
}
16
run["parameters"] = params
17
18
19
# Track the training process by logging your training metrics
20
for epoch in range(100):
21
run["train/accuracy"].log(epoch * 0.6)
22
run["train/loss"].log(epoch * 0.4)
23
24
# Log the final results
25
run["f1_score"] = 0.66
Copied!
Last modified 6mo ago