Comments (4)
@bo-ve do you mind taking a crack at a pull request for this? Otherwise I can take a look at this before the next release. Thanks!
from deeplearning4j.
I seem to have the same problem. I cannot require the packages in my module-info file. The module-info of deeplearning.modelimport has only exports of names that are not it, such as:
exports org.deeplearning4j.frameworkimport.keras.keras.layers;
What it should say is probably org.deeplearning4j.nn.modelimport.keras.layers
Unfortunately, thus the library cannot be used.
from deeplearning4j.
Great feedback! I'm unfortunately finalizing testing right now and will get to this before the release. It's taking longer than I'd like but all tests must pass on both cpu and cuda before I can finish this out. I'll do a lot more testing on java 17 to make sure everything is good. @gerrycoding could you give me more information about the environment?
Could also clarify about it not being usable at all? I'm at least able to run code in java 17 no problem.
It's been quite a while since M2.1 so maybe this isn't even an issue anymore.
from deeplearning4j.
We are building a game in JavaFX. Neural networks are supposed to strengthen the ai-players. So the idea is to build the networks with python/keras and then import them into the java project. If I have a plain Java project, not using JavaFX and thus not having any module-info file, the imports are found in the external libraries which are included via maven. So I can compile the program and load the network and make an inference. But as soon as I include any module-info file, which I need to include the FX libraries, many packages I need, are not found if I use the proper names of the the packages in my "require" declarations, since the module-info of those modules do not export them. As I quoted above, in the 'modelimport' module the names of the exports don't fit the names of the real packages. Intellij asks me to modify the module-info and add the correct exports. But of course, I cannot write to them.
Im using Java 17, and the M2.1 Version. I tried to change the maven dependencies to an older version, but maven then says it cannot find them.
from deeplearning4j.
Related Issues (20)
- Init pretrained models HTTP status code 403 HOT 3
- A script that parses XML takes only 0.00718 seconds to execute through Python, but it takes 17 seconds to execute through Python4J. Why is there such a difference in performance? HOT 6
- Please ensure that you have an nd4j backend on your classpath. Please see: https://deeplearning4j.konduit.ai/nd4j/backend HOT 2
- Please update the version of opencsv you are using
- python4j spring boot jar PythonExecutioner init error HOT 3
- Ensure read into byte array from InputStream happens fully HOT 2
- libnd4j: Execution javacpp-cppbuild-compile of goal org.bytedeco:javacpp:1.5.9:build failed: Process exited with an error: 127
- Unable to start UI server
- Unable to use RemoteUIStatsStorageRouter HOT 2
- libnd4j - undefined reference to `sd::PrintTo(sd::NDArray const&, std::ostream*) HOT 1
- Running a a basic CNN training fails on Google Colab!
- AMD GPUs not supported? HOT 4
- Normalized Autoencoder (NAE): Improve outlier detection performance
- Op [multiply] execution failed HOT 1
- error when compiling (exception in thread "main" java.lang.ExceptionInInitializerError) HOT 3
- ND4J: Add an option to only include backends for specified operating systems HOT 5
- WordVectorSerializer should add load Supplier<InputStream> functions HOT 2
- version bug for commons-io?
- [ND4J][CUDA 12] Support nd4j for cuda 12.4.1 ? 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 deeplearning4j.