Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 867cf98

Browse files
committed
Update artifact id to not include a scala version for ui
Signed-off-by: Paul Dubs <paul.dubs@gmail.com>
1 parent 751e323 commit 867cf98

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

‎docs/_latest/deeplearning4j-nn-visualization.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ DL4J Provides a user interface to visualize in your browser (in real time) the c
2727
```
2828
<dependency>
2929
<groupId>org.deeplearning4j</groupId>
30-
<artifactId>deeplearning4j-ui_2.10</artifactId>
30+
<artifactId>deeplearning4j-ui</artifactId>
3131
<version>{{ page.version }}</version>
3232
</dependency>
3333
```
3434

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.
3635

3736
**Step 2: Enable the UI in your project**
3837

@@ -134,7 +133,7 @@ First, in the JVM running the UI (note this is the server):
134133
UIServer uiServer = UIServer.getInstance();
135134
uiServer.enableRemoteListener(); //Necessary: remote support is not enabled by default
136135
```
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)
138137

139138
Client (both spark and standalone neural networks using simple deeplearning4j-nn)
140139
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
145144
StatsStorageRouter remoteUIRouter = new RemoteUIStatsStorageRouter("http://UI_MACHINE_IP:9000");
146145
sparkNet.setListeners(remoteUIRouter, Collections.singletonList(new StatsListener(null)));
147146
```
148-
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.
156148

157149
Note: you should replace ```UI_MACHINE_IP``` with the IP address of the machine running the user interface instance.
158150

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /