Can't visualize training process

I am having the same problem on my Mac with version 1.0.0-beta7 .

do you find any solution?

Hi @azanux , I think you should try changing the order of dependencies in your pom.xml file. This issue seems to be because of an artifact containing incompatible netty version is in first place in the dependencies. In my pom.xml, the deeplearning4j-ui dependency is on the top:

	<dependency>
		<groupId>org.deeplearning4j</groupId>
		<artifactId>deeplearning4j-ui</artifactId>
		<version>1.0.0-beta7</version>
	</dependency>

Do you have multiple netty versions? You can check it with mvn dependency:tree. I get 4.1.48.Final, and I don’t have the instant auto-stop issue.

>mvn dependency:tree
...
[INFO] +- org.deeplearning4j:deeplearning4j-ui:jar:1.0.0-beta7:compile
[INFO] |  +- org.deeplearning4j:deeplearning4j-vertx:jar:1.0.0-beta7:compile
[INFO] |  |  +- io.vertx:vertx-core:jar:3.9.0:compile
[INFO] |  |  |  +- io.netty:netty-common:jar:4.1.48.Final:compile
...

thanks @printomi it’s working now.

but it’s strange, because this was my dependency:tree because i made my changes

[INFO] ± org.deeplearning4j:deeplearning4j-vertx:jar:1.0.0-beta7:compile
[INFO] | ± io.vertx:vertx-core:jar:3.9.0:compile
[INFO] | | ± io.netty:netty-transport:jar:4.1.48.Final:compile
[INFO] | | ± io.netty:netty-handler:jar:4.1.48.Final:compile
[INFO] | | | - io.netty:netty-codec:jar:4.1.48.Final:compile
[INFO] | | ± io.netty:netty-handler-proxy:jar:4.1.48.Final:compile
[INFO] | | | - io.netty:netty-codec-socks:jar:4.1.48.Final:compile
[INFO] | | ± io.netty:netty-codec-http:jar:4.1.48.Final:compile
[INFO] | | ± io.netty:netty-codec-http2:jar:4.1.48.Final:compile
[INFO] | | ± io.netty:netty-resolver:jar:4.1.48.Final:compile
[INFO] | | - io.netty:netty-resolver-dns:jar:4.1.48.Final:compile
[INFO] | | - io.netty:netty-codec-dns:jar:4.1.48.Final:compile

 +- org.datavec:datavec-local:jar:1.0.0-beta7:compile
[INFO] |  +- com.codepoetics:protonpack:jar:1.15:compile
[INFO] |  \- org.datavec:datavec-arrow:jar:1.0.0-beta7:compile
[INFO] |     +- org.apache.arrow:arrow-vector:jar:0.11.0:compile
[INFO] |     |  +- com.fasterxml.jackson.core:jackson-core:jar:2.7.9:compile
[INFO] |     |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.9:compile
[INFO] |     |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.9:compile
[INFO] |     |  +- com.carrotsearch:hppc:jar:0.7.2:compile
**[INFO] |     |  +- io.netty:netty-buffer:jar:4.1.22.Final:compile**

** [INFO] | | - io.netty:netty-common:jar:4.1.48.Final:compile**
[INFO] | ± org.apache.arrow:arrow-memory:jar:0.11.0:compile
[INFO] | | - com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | - org.apache.arrow:arrow-format:jar:0.11.0:compile

the solution below
1 - I change the pom file like this

    <dependency>
        <groupId>org.datavec</groupId>
        <artifactId>datavec-local</artifactId>
        <version>${dl4j-master.version}</version>
        <exclusions>
            <exclusion>
                <groupId>io.netty</groupId>
                <artifactId>netty-buffer</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

2 - and add new dependency

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-buffer</artifactId>
    <version>4.1.48.Final</version>
</dependency>

and move artifactid deeplearning4j-ui to bottom

<dependency>
    <groupId>org.deeplearning4j</groupId>
    <artifactId>deeplearning4j-ui</artifactId>
    <version>${dl4j-master.version}</version>
</dependency>

3 - invalidate intellij cache and restart

Great, so you excluded the netty version that was incompatible with deeplearning4j-ui.

I guess that you don’t have to explicitly add netty-buffer, if you have deeplearning4j-ui in the dependencies, and you don’t have to exclude the problematic netty artifact if deeplearning4j-ui is put on the top.

@treo wrote this workaround for the issue:
https://github.com/eclipse/deeplearning4j/issues/8724

@azanux have you tried this?

Hi @printomi
I move deeplearning4j-ui on the top of the pom file and remove the explicitly add **netty-buffer** and the exclusion of problematic netty artifact.

and it works fine.

So the solution is just to move deeplearning4j-ui on the Top.

Great !! thanks