diff options
author | Rohan Jain <rohanj@google.com> | 2017-04-07 08:29:08 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-04-07 09:49:22 -0700 |
commit | d0697156736ff137a8d8f6bcd934aa935bf89001 (patch) | |
tree | 8b3d17771577552cba3327d2ed3272718c49aa92 /tensorflow/java/README.md | |
parent | 35c88a7f7d0189809dfb630396566eec078dc5db (diff) |
Merge changes from github.
Change: 152508170
Diffstat (limited to 'tensorflow/java/README.md')
-rw-r--r-- | tensorflow/java/README.md | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tensorflow/java/README.md b/tensorflow/java/README.md index fd24016884..42cd24a7df 100644 --- a/tensorflow/java/README.md +++ b/tensorflow/java/README.md @@ -34,26 +34,26 @@ That's all. As an example, to create a Maven project for the 1. Create a `pom.xml`: ```xml -<project> - <modelVersion>4.0.0</modelVersion> - <groupId>org.myorg</groupId> - <artifactId>label-image</artifactId> - <version>1.0-SNAPSHOT</version> - <properties> - <exec.mainClass>org.tensorflow.examples.LabelImage</exec.mainClass> - <!-- The LabelImage example code requires at least JDK 1.7. --> - <!-- The maven compiler plugin defaults to a lower version --> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> - </properties> - <dependencies> - <dependency> - <groupId>org.tensorflow</groupId> - <artifactId>tensorflow</artifactId> - <version>1.1.0-rc1</version> - </dependency> - </dependencies> -</project> + <project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.myorg</groupId> + <artifactId>label-image</artifactId> + <version>1.0-SNAPSHOT</version> + <properties> + <exec.mainClass>org.tensorflow.examples.LabelImage</exec.mainClass> + <!-- The LabelImage example code requires at least JDK 1.7. --> + <!-- The maven compiler plugin defaults to a lower version --> + <maven.compiler.source>1.7</maven.compiler.source> + <maven.compiler.target>1.7</maven.compiler.target> + </properties> + <dependencies> + <dependency> + <groupId>org.tensorflow</groupId> + <artifactId>tensorflow</artifactId> + <version>1.1.0-rc1</version> + </dependency> + </dependencies> + </project> ``` 2. Download the [example source](https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/java/src/main/java/org/tensorflow/examples/LabelImage.java) |