(简体中文|English)
Paddle Serving provides Java SDK,which supports predict on the Client side with Java language. This document shows how to use the Java SDK.
- Java 8 or higher
- Apache Maven
The following table shows compatibilities between Paddle Serving Server and Java SDK.
Paddle Serving Server version | Java SDK version |
---|---|
0.5.0 | 0.0.1 |
- Directly use the provided Java SDK as the client for prediction
You can download jar and install it to the local Maven repository:
wget https://paddle-serving.bj.bcebos.com/jar/paddle-serving-sdk-java-0.0.1.jar
mvn install:install-file -Dfile=$PWD/paddle-serving-sdk-java-0.0.1.jar -DgroupId=io.paddle.serving.client -DartifactId=paddle-serving-sdk-java -Dversion=0.0.1 -Dpackaging=jar
<dependency>
<groupId>io.paddle.serving.client</groupId>
<artifactId>paddle-serving-sdk-java</artifactId>
<version>0.0.1</version>
</dependency>