How to change default project from Sandbox?

Problem

I created a new project in Neptune, but all the experiments end up in this Sandbox project. How can I change that?

Solution

There are few options to deal with this.

Config file

In your neptune.yaml config file, add a project: USERNAME/PROJECT_NAME section. For example:

1
2
3
...
project: neptune-ml/Salt-Detection
...

Then, run your script as usual, adding the --config PATH/TO/neptune.yaml parameter:

1
neptune run --config neptune.yaml main.py

Command line (option 1)

Run your script as usual adding a --project USERNAME/PROJECT_NAME parameter:

1
neptune run --project neptune-ml/Salt-Detection main.py

Command line (option 2)

Set new default project that will replace Sandbox, for example:

1
neptune project activate neptune-ml/Salt-Detection

See also