You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_latest/deeplearning4j-nn-visualization.md
+3-11Lines changed: 3 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,11 @@ DL4J Provides a user interface to visualize in your browser (in real time) the c
27
27
```
28
28
<dependency>
29
29
<groupId>org.deeplearning4j</groupId>
30
-
<artifactId>deeplearning4j-ui_2.10</artifactId>
30
+
<artifactId>deeplearning4j-ui</artifactId>
31
31
<version>{{ page.version }}</version>
32
32
</dependency>
33
33
```
34
34
35
-
Note the ```_2.10``` suffix: this is the Scala version (due to using the Play framework, a Scala library, for the backend). If you are not using other Scala libraries, either ```_2.10``` or ```_2.11``` is OK.
36
35
37
36
**Step 2: Enable the UI in your project**
38
37
@@ -134,7 +133,7 @@ First, in the JVM running the UI (note this is the server):
134
133
UIServer uiServer = UIServer.getInstance();
135
134
uiServer.enableRemoteListener(); //Necessary: remote support is not enabled by default
136
135
```
137
-
This will require the ```deeplearning4j-ui_2.10``` or ```deeplearning4j-ui_2.11``` dependency. (NOTE THIS IS NOT THE CLIENT THIS IS YOUR SERVER - SEE BELOW FOR THE CLIENT WHICH USES: deeplearning4j-ui-model)
136
+
This will require the ```deeplearning4j-ui``` dependency. (NOTE THIS IS NOT THE CLIENT THIS IS YOUR SERVER - SEE BELOW FOR THE CLIENT WHICH USES: deeplearning4j-ui-model)
138
137
139
138
Client (both spark and standalone neural networks using simple deeplearning4j-nn)
140
139
Second, for your neural net (Note this example is for spark, but computation graph and multi layer network both have the equivalemtn setListeners method with the same usage, [example found here](https://github.com/eclipse/deeplearning4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/userInterface/RemoteUIExample.java)):
@@ -145,14 +144,7 @@ Second, for your neural net (Note this example is for spark, but computation gra
145
144
StatsStorageRouter remoteUIRouter = new RemoteUIStatsStorageRouter("http://UI_MACHINE_IP:9000");
To avoid dependency conflicts with Spark, you should use the ```deeplearning4j-ui-model``` dependency to get the StatsListener, *not* the full ```deeplearning4j-ui_2.10``` UI dependency.
149
-
150
-
**Note to scala users**:
151
-
152
-
You need to use the above method if you are on a newer scala version. See the linked example above for the client.
153
-
154
-
155
-
147
+
To avoid dependency conflicts with Spark, you should use the ```deeplearning4j-ui-model``` dependency to get the StatsListener, *not* the full ```deeplearning4j-ui``` UI dependency.
156
148
157
149
Note: you should replace ```UI_MACHINE_IP``` with the IP address of the machine running the user interface instance.
0 commit comments