Comments (3)
Java 7 reached end-of-life in 2015 and is not supported. You can try building it yourself, but you will be on your own in terms of support. In the pytorch repository cd into android/pytorch_android/host
and run gradle assemble
.
from java-demo.
It would be helpful to mention the minimum Java version supported in the README doc.
from java-demo.
not only the pytorch_java_only but also the dependency fbjni were built with java 8 but not use the feature of java 8.
from java-demo.
Related Issues (20)
- how to build demo with javac HOT 4
- NoSuchMethodError HOT 5
- java+libtorch version runs much slower than the python+torchscript version HOT 4
- No prob
- rem
- any instructions on how to use the downloaded libtorch in Maven project? HOT 1
- Just a question on "demo-model.pt1"
- Question on TorchScriptForJavaDemo.ipynb
- LIBTORCH_HOME not present in environment HOT 3
- Build java_only version using only cpu
- no pytorch_jni in java.library.path in linux HOT 2
- Is there a way to set the number of threads from Java API? HOT 1
- build fail HOT 1
- Windows support HOT 2
- Suggestion: Update to README saying that a libtorch pre-CXX 11 build is required (as of 1.9)?
- How to compile from command line (using javac instead of gradle)? HOT 2
- Exception in thread "main" com.facebook.jni.CppException: open file failed, file path: /tmp/model-deploy.pt HOT 1
- java.lang.UnsatisfiedLinkError: no pytorch_jni in java.library.path HOT 1
- macOS File Permission Issue at Runtime HOT 1
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 java-demo.