A Java spring boot application to serve Tensorflow trained siamese model with React frontend. For illustration purpose, a siamese model trained for signature verification (python code) is integrated here. [Tensorflow Model]
- Java 8
- Apache Maven
- NodeJS
Download the provided Tensorflow model and extract it in src/main/resources.
To use your own model, first train it using python code (Use its graph_serialize_utils to convert it to pb file). Then set appropriate model path in src/main/resources/application.properties. If necessary, implement provided interface com.tensorflow.siamese.services.TfModelServingService.
Then execute following in root directory:
mvn clean install -DskipTests
mvn spring-boot:runStart front-end:
cd <webapp folder>
npm run startThen just open localhost:3000 in your browser.

