-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sophisticated example for JavaCPP - Tensorflow #409
Comments
It basically maps the C++ API, so for example we could easily port this example to Java: |
Thank you for your reply. |
It shouldn't be too hard. If you have any questions, please post to the mailing list or ask on Gitter! Thanks |
I agree with @szingerpeter. It is better to provide an example about how to train a simple neural network. I am also facing this problem that how to start from scratch with Java API. There are few materials can be referred to. |
@allenjack That's cool, contributions are welcome! |
@allenjack FYI, here is a complete training example using only the C++ API: |
Thank you so much. I will have a try and let you know.
…On 18 March 2018 at 13:41, Samuel Audet ***@***.***> wrote:
@allenjack <https://github.com/allenjack> FYI, here is a complete
training example using only the C++ API:
https://matrices.io/training-a-deep-neural-network-using-
only-tensorflow-c/
It should be pretty straightforward to translate this to Java, but please
let me know if you encounter any issues. Thanks for your interest!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#409 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEN9vgJ8b4cLF-Jcgmalk1mHU6c1vABsks5tfpxXgaJpZM4NAXah>
.
|
Many thanks to @Neiko2002, we now have a Java translation of that complete training example: |
BTW, it's now also possible to train using Keras: |
Dear All,
I have seen the example for using Tensorflow with Java. I did not really manage to understand what was going on in the code. Would it be possible to have some more documentation on it?
Moreover, I would be interested in a bit more sophisticated example or at least some guidance how I should / could use Tensorflow in Java. I think it is a great initiative, but I feel a bit lost on how I could implement for example a feed-forward neural network with for example 2 hidden layers and 5 classes by using Tensorflow JavaCPP bindings.
Thank you for any help!
Cheers,
Peter
The text was updated successfully, but these errors were encountered: