Comments (6)
I just moved to the official Java API.
The result was both a decent speed boost and cleaner interaction w/ ORT.
There are other reasons to use JavaCPP (relatively smooth interoperability between multiple native libs, for example)
The JavaCPP preset served this project well, but the time has come.
from onnx-scala.
Does this mean that you are inviting people to use Java API (https://github.com/microsoft/onnxruntime/blob/master/docs/Java_API.md) ? instead of this repository? I am looking for a solution to run my ONNX NN model into a Scala 2.11 Play app.
from onnx-scala.
Not what I meant, although if all you want is full model inference, you could do that (with a bit of added ceremony).
I just meant that I am now using the Java API under the hood here.
This repo also offers a fine-grained API (see the README), useful for other tasks, which the Java API does not.
However, we only support Scala 2.13 & 3 (dotty). Is there a reason you can't use 2.13?
from onnx-scala.
Yes, the application has too many dependencies which rely on 2.11 and a migration would mean too much changes to the code base. Given that this lib does not support my Scala version, do you think is possible to simply use Java API instead?
from onnx-scala.
As I said, sure, it is possible.
I would strongly encourage you to move up from 2.11 though, there are no further releases / support planned, so it is effectively end of life.
from onnx-scala.
Thanks a lot for your replies! Yes, we need to plan the migration and I hope we will be able to do that soon!
from onnx-scala.
Related Issues (10)
- Errors When Building Project HOT 5
- sbt console tab completion broken after importing io.kjaer.compiletime._ HOT 3
- Program generator dose'nt work for convert onnx file to scala HOT 3
- object compiletime is not a member of package org.emergentorder HOT 2
- Is it possible to pass batch size dynamically? HOT 2
- Platform not supported exception HOT 10
- Accessing multiple outputs HOT 2
- Question: why does `Tensor#apply` return a value wrapped in `IO` effect? HOT 1
- Quick Questions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnx-scala.