如何将Deeplearning4j的UIServer端口从9000更改为其他端口?

huangapple go评论71阅读模式
英文:

How to change UIServer port for Deeplearning4j from 9000 to some other?

问题

目前我有一个预配置的VPN客户端,由于某种原因它使用了9000端口,并且没有办法重新配置它。如何将dl4j的UIServer初始化到另一个端口?

UIServer基于Eclipse Vert.x。我已经尝试设置 -Dhttp.port=9001 的虚拟机变量,但没有成功。

英文:

Currently I have a preconfigured VPN client that for some own sake uses exactly 9000 and there is no way to reconfigure it. How can I initiate dl4j's UIServer to some other port?

UIServer is based on Eclipse Vert.x. I have been tried to set up -Dhttp.port=9001 VM variabe, but with no success.

答案1

得分: 2

正确的方法,如文件中于2020年4月10日所述,是使用-Dorg.deeplearning4j.ui.port=9001

另一种(不太推荐的)方法是使用自定义的UIServer类,并修改getInstance方法以修改将要使用的VertexUIServer端口。

英文:

The correct way, as documentation says on 10 april 2020, is using -Dorg.deeplearning4j.ui.port=9001.

May another (ugly) way is to use a custom UIServer class and change the method getInstance to modify which VertexUIServer port will be used.

huangapple
  • 本文由 发表于 2020年4月10日 04:05:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/61129365.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定