提交 65e32c7b 编写于 作者: B barrierye

fix bug in fit_a_line example

上级 17cfb897
...@@ -51,30 +51,16 @@ ...@@ -51,30 +51,16 @@
<nd4j.backend>nd4j-native</nd4j.backend> <nd4j.backend>nd4j-native</nd4j.backend>
<nd4j.version>1.0.0-beta7</nd4j.version> <nd4j.version>1.0.0-beta7</nd4j.version>
<datavec.version>1.0.0-beta7</datavec.version> <datavec.version>1.0.0-beta7</datavec.version>
<paddle.serving.client.version>0.0.1</paddle.serving.client.version>
<maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> <maven.compiler.target>1.7</maven.compiler.target>
</properties> </properties>
<!-- For development use -->
<!-- Include this if you want to try the latest SNAPSHOT version -->
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.paddle.serving.client</groupId> <groupId>io.paddle.serving.client</groupId>
<artifactId>paddle-serving-sdk-java</artifactId> <artifactId>paddle-serving-sdk-java</artifactId>
<version>0.0.1</version> <version>${paddle.serving.client.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
......
...@@ -20,7 +20,7 @@ public class PaddleServingClientExample { ...@@ -20,7 +20,7 @@ public class PaddleServingClientExample {
= new HashMap<String, INDArray>() {{ = new HashMap<String, INDArray>() {{
put("x", npdata); put("x", npdata);
}}; }};
List<String> fetch = Arrays.asList("save_infer_model/scale_0.tmp_0"); List<String> fetch = Arrays.asList("price");
Client client = new Client(); Client client = new Client();
String target = "localhost:9393"; String target = "localhost:9393";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册