import neptune.new as neptune
# The init() function called this way assumes that
# NEPTUNE_API_TOKEN environment variable is defined by the integration.
run = neptune.init(project='my_workspace/my_project',
# Track some metadata and hyperparameters
run["algorithm"] = "ConvNet"
run["parameters"] = params
# Track the training process by logging your training metrics
run["train/accuracy"].log(epoch * 0.6)
run["train/loss"].log(epoch * 0.4)