Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo tensorflow

Using tensorflow from a Java application

At this point you probably have heard about TensorFlow , the famous Google library for deep learning. Although the TensorFlow core is C/C++, the most famous API is Python (as you can see in Siraj or sintdex tutorials), but recently TensorFlow released a Java version for the API. TensorFlow has a small tutorial about the Java API and a single more complex example to classify image. On this small tutorial the link to the tensorflow JAR is broken. I found a working JAR in this URL. The upstream tutorial was already corrected as you can see in github . There's also the labeled image example , which is very simple as well, but a few additional steps must be taken: Download the content from this URL and unzip it. It is the labeled dataset Download the LabelImage class from github . When saving it locally remember to remove the package declaration. Having the tensorflow JAR you downloaded previously and the native library, you can compile and run the class passing the direct...