Comments (6)
@ntbdusty
"Unable to load library 'C:\Users\Default.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll'
This message looks suspicious. Somehow java think you are running as user "Default", that's strange.
Would you please run following command and collect the output:
cd integration
..\gradlew debugEnv
If you are login as administrator in Windows, the correct location of mxnet.dll should look like following:
C:\Users\Administrator\.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll
Somehow your path missing a \ after Default
from djl.
Ouch, I have to explain, do not pay attention to it. I just replaced manually real user name.
It should looks like "" 'C:\Users\UserName.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll'
Also, see logs in attach:
build.log
debugEnv.log
from djl.
@ntbdusty
I guess this is caused by you running gradle in MingW64 shell. Please try to run gradle in command prompt.
from djl.
@frankfliu
Unfortunately, the same result in command prompt. =(
from djl.
@ntbdusty
This is really strange, mxnet.dll is a 64-bit DLL, and your java and windows are both 64-bit. Somehow your system trying to load mxnet.dll in 32-bit mode and failed.
Can you try one more thing: delete C:\Users\UserName.mxnet folder and try it again?
Another thing to try is: install vs2015 redistribution package, see: https://github.com/awslabs/djl/blob/master/docs/development/troubleshooting.md#3-build-fails-on-windows-caused-by-unsatisfiedlinkerror
from djl.
@frankfliu
Many thanks, reinstalling vs2015 solved the problem.
I should have read Troubleshooting more accurate.
from djl.
Related Issues (20)
- SIGSEGV faults
- When I build a project supporting DJL in Android Studio, I encounter the following error. How can I resolve it? HOT 3
- Cannot use trained gluonTS model
- Adding ppc64le support for PyTorch engine HOT 4
- Please report location when HuggingFaceTokenizer.newInstance fails with I/O error HOT 11
- How to support paddlepaddle on an aarch64 FT Phytium S2500/64 machine?
- Run tensorflow model on arm architecture HOT 2
- Could not initialize class ai.djl.onnxruntime.engine.0rtNDManager HOT 4
- NDArrays.concat has a different behaviour as np.concatenate HOT 4
- Potential Race Condition or Garbage Collection Issue during JNI Environment Usage HOT 1
- NumberFormatException: Cannot parse null string when loading inside of Docker HOT 1
- Extracting local model ZIP multiple times HOT 3
- Error encountered when predicting with xgboost on Linux arm64 HOT 2
- SIGSEGV calling NDList.encode() HOT 3
- OnnxRuntime 引擎官网案例报错 HOT 9
- Missing Features Exception while inputting the custom dataset.
- Prediction from clip-ViT-B-32-multilingual-v1 incorrectly returns 768 elements rather than 512 HOT 8
- HuggingFace model multilingual-e5-small fails to open on Windows due to max path limitations HOT 4
- support dynamic quantization of pytorch
- Pytorch Engine, LSTM, [W RNN.cpp:982] Warning: RNN module weights are not part of single contiguous chunk of memory. 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 djl.