# Can't visualize training process

**URL:** <https://community.konduit.ai/t/cant-visualize-training-process/997>\
**Category:** DL4J\
**Created:** [November 17, 2020, 2:54pm UTC](https://community.konduit.ai/t/cant-visualize-training-process/997 "2020-11-17T14:54:59Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![azanux](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/azanux/32/466_2.png) [@azanux](https://community.konduit.ai/u/azanux)\
**Post date:** [February 28, 2021, 12:23am UTC](https://community.konduit.ai/t/cant-visualize-training-process/997/21 "2021-02-28T00:23:55Z")

</div>

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

do you find any solution?

---

<div class="post-metadata">

**Author:** ![printomi](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/printomi/32/129_2.png) [@printomi](https://community.konduit.ai/u/printomi)\
**Post date:** [March 1, 2021, 8:45am UTC](https://community.konduit.ai/t/cant-visualize-training-process/997/22 "2021-03-01T08:45:06Z")

</div>

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.

```auto
>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
...

```

---

<div class="post-metadata">

**Author:** ![azanux](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/azanux/32/466_2.png) [@azanux](https://community.konduit.ai/u/azanux)\
**Post date:** [March 1, 2021, 6:20pm UTC](https://community.konduit.ai/t/cant-visualize-training-process/997/23 "2021-03-01T18:20:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![printomi](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/printomi/32/129_2.png) [@printomi](https://community.konduit.ai/u/printomi)\
**Post date:** [March 2, 2021, 9:27am UTC](https://community.konduit.ai/t/cant-visualize-training-process/997/24 "2021-03-02T09:27:10Z")

</div>

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](https://github.com/eclipse/deeplearning4j/issues/8724)

@azanux have you tried this?

---

<div class="post-metadata">

**Author:** ![azanux](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/azanux/32/466_2.png) [@azanux](https://community.konduit.ai/u/azanux)\
**Post date:** [March 2, 2021, 2:36pm UTC](https://community.konduit.ai/t/cant-visualize-training-process/997/25 "2021-03-02T14:36:55Z")

</div>

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

[Previous page](https://community.konduit.ai/t/cant-visualize-training-process/997.md?page=1)
