NSML Constants

nsml.IS_ON_NSML

True if the code is running on the NSML server.

nsml.HAS_DATASET

True if session has a dataset.

nsml.DATASET_PATH

The path of the dataset when executing nsml run -d DATASET.

nsml.DATASET_NAME

The name of the dataset when executing nsml run -d DATASET.