How to train a model in tensorflow using java

僤鯓⒐⒋嵵緔 提交于 2020-01-01 10:43:05

问题


I am trying to find a tutorial which can help in train a image classification model in java. I should work same way we train model in python.


回答1:


Current version of Tensorflow (1.3) java API does not allow to train models, but allow to use pre-trained models only.




回答2:


For that, we can use the JavaCPP Presets for TensorFlow, which map the C and C++ APIs: https://github.com/bytedeco/javacpp-presets/tree/master/tensorflow



来源:https://stackoverflow.com/questions/46030577/how-to-train-a-model-in-tensorflow-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!