public class DL4JSystemProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHART_MAX_POINTS_PROPERTY
Applicability: deeplearning4j-ui_2.xx
Description: The DL4J training UI (StatsListener + UIServer.getInstance().attach(ss)) will subsample the number of chart points when a lot of data is present - i.e., only a maximum number of points will be shown on each chart. |
static String |
CRASH_DUMP_ENABLED_PROPERTY
Applicability: deeplearning4j-nn
Description: DL4J writes some crash dumps to disk when an OOM exception occurs - this functionality is enabled by default. |
static String |
CRASH_DUMP_OUTPUT_DIRECTORY_PROPERTY
Applicability: deeplearning4j-nn
Description: DL4J writes some crash dumps to disk when an OOM exception occurs - this functionality is enabled by default. |
static String |
CUSTOM_REGISTRATION_PROPERTY
Applicability: deeplearning4j-nn
Description: Used for loading legacy format JSON containing custom layers. |
static String |
DL4J_RESOURCES_BASE_URL_PROPERTY
Applicability: Numerous modules, including deeplearning4j-datasets and deeplearning4j-zoo
Description: Used to set the base URL for hosting of resources such as datasets (like MNIST) and pretrained models in the model zoo. |
static String |
DL4J_RESOURCES_DIR_PROPERTY
Applicability: Numerous modules, including deeplearning4j-datasets and deeplearning4j-zoo
Description: Used to set the local location for downloaded remote resources such as datasets (like MNIST) and pretrained models in the model zoo. |
static String |
DL4J_TEMP_DIR_PROPERTY
Applicability: DL4J ModelSerializer, ModelGuesser, Keras model import
Description: Specify the local directory where temporary files will be written. |
static String |
NTP_SOURCE_SERVER_PROPERTY
Applicability: dl4j-spark_2.xx - NTPTimeSource class (mainly used in ParameterAveragingTrainingMaster when stats
collection is enabled; not enabled by default)
Description: This sets the NTP (network time protocol) server to be used when collecting stats. |
static String |
NTP_SOURCE_UPDATE_FREQUENCY_MS_PROPERTY
Applicability: dl4j-spark_2.xx - NTPTimeSource class (mainly used in ParameterAveragingTrainingMaster when stats
collection is enabled; not enabled by default)
Description: This sets the NTP (network time protocol) update frequency in milliseconds. |
static String |
TIMESOURCE_CLASSNAME_PROPERTY
Applicability: dl4j-spark_2.xx - mainly used in ParameterAveragingTrainingMaster when stats collection is enabled;
not enabled by default
Description: This sets the time source to use for spark stats. |
static String |
UI_SERVER_PORT_PROPERTY
Applicability: deeplearning4j-play (deeplearning4j-ui_2.xx)
Description: This property sets the port that the UI will be available on. |
public static final String DL4J_TEMP_DIR_PROPERTY
public static final String DL4J_RESOURCES_DIR_PROPERTY
new File(System.getProperty("user.home"), ".deeplearning4j").
Setting this can be useful if the system drive has limited space/performance, a shared location for all users
should be used instead, or if user.home isn't set for some reason.public static final String DL4J_RESOURCES_BASE_URL_PROPERTY
public static final String CUSTOM_REGISTRATION_PROPERTY
NeuralNetConfiguration#registerLegacyCustomClassesForJSON(Class[]). Classes are specified in
comma-separated format.NeuralNetConfiguration#registerLegacyCustomClassesForJSON(Class[])public static final String CRASH_DUMP_ENABLED_PROPERTY
public static final String CRASH_DUMP_OUTPUT_DIRECTORY_PROPERTY
System.getProperty("user.dir") or new File("")) will be usedpublic static final String CHART_MAX_POINTS_PROPERTY
public static final String UI_SERVER_PORT_PROPERTY
public static final String NTP_SOURCE_SERVER_PROPERTY
public static final String NTP_SOURCE_UPDATE_FREQUENCY_MS_PROPERTY
public static final String TIMESOURCE_CLASSNAME_PROPERTY
org.deeplearning4j.spark.time.NTPTimeSourceCopyright © 2019. All rights reserved.