deepjavalibrary / djl

An Engine-Agnostic Deep Learning Framework in Java
https://djl.ai
Apache License 2.0
4.07k stars 648 forks source link

Provide fast adaptation between Maven and springboot #859

Closed jiasu-hezhip closed 3 years ago

jiasu-hezhip commented 3 years ago

When I deployed a pytorch project, I didn't learn how to build a server with Python, and I was very familiar with Java, so I want that a java project can directly use the trained pytorch model. Djl is a good project, but i hope to provide Maven support and project management integrated in SpringCloud.

frankfliu commented 3 years ago

DJL package is published to maven central, you can use maven to create your project.

DJL examples uses both gradle and maven build script, you can find the pom.xml: https://github.com/awslabs/djl/blob/master/examples/pom.xml

DJL also support Srpingboot starter: https://github.com/frankfliu/djl-spring-boot-starter And you can find demo for using springbootstarter: https://github.com/frankfliu/djl-spring-boot-starter-demo

frankfliu commented 3 years ago

Feel free to reopen this issue if you have further questions.