问题
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