public class DL4JSystemProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.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 java.lang.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 java.lang.String |
CUSTOM_REGISTRATION_PROPERTY
Applicability: deeplearning4j-nn
Description: Used for loading legacy format JSON containing custom layers. |
static java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String DL4J_RESOURCES_BASE_URL_PROPERTY
public static final java.lang.String CUSTOM_REGISTRATION_PROPERTY
NeuralNetConfiguration#registerLegacyCustomClassesForJSON(Class[])
. Classes are specified in
comma-separated format.NeuralNetConfiguration#registerLegacyCustomClassesForJSON(Class[])
public static final java.lang.String CRASH_DUMP_ENABLED_PROPERTY
public static final java.lang.String CRASH_DUMP_OUTPUT_DIRECTORY_PROPERTY
System.getProperty("user.dir")
or new File("")
) will be usedpublic static final java.lang.String CHART_MAX_POINTS_PROPERTY
public static final java.lang.String UI_SERVER_PORT_PROPERTY
public static final java.lang.String NTP_SOURCE_SERVER_PROPERTY
public static final java.lang.String NTP_SOURCE_UPDATE_FREQUENCY_MS_PROPERTY
public static final java.lang.String TIMESOURCE_CLASSNAME_PROPERTY
org.deeplearning4j.spark.time.NTPTimeSource