How to keep my code private?

Problem

My code is proprietary, so I do not want to send sources to Neptune, while training locally. How to do it?

Solution

You can exclude all the files from being send by using the exclude option in the configuration file or in the command line.

Exclude using config file

Add this to your neptune.yaml configuration file

1
2
3
4
5
6
...

exclude:
- [*]

...

Exclude using command line

1
neptune run --exclude [*] model_training.py

As a result you will not send sources to Neptune, so they will not be available in the Source Code tab in the Web app. Here is an example of experiments where source code:

How about cloud computations?

In case of cloud computations sources are sent to Neptune in order to execute your experiment on the worker, you requested.

See also