Hi,
I am new to Caffee and also to SNPE SDK. I am trying to run the example alexnet following Caffe tutorial on phone(Qualcomm MSM8953 2.0GH). But after the APK(SNPE Image Classifiers ) run, tapped ALEXNET, the error "Faild to load mode" was shown. Model version was not shown either. Could you give me some hint about the error please?
Hi,
What device (OEM, model, Android version) are you using?
Thanks
Below is device information.
--------------------------------------------
model : F-01J( smartphone made by Japanese company Fujitsu )
Android version: 7.1.1
-------------------------------------------
I checked again my install steps. And I found the error below in the step "Download the ML Models and convert them to .DLC".
---------------------------------------------------------
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0807 14:57:21.515084 14762 common.cpp:114] Cannot create Cublas handle. Cublas won't be available.
E0807 14:57:21.516696 14762 common.cpp:121] Cannot create Curand generator. Curand won't be available.
F0807 14:57:21.523205 14762 cudnn_conv_layer.cpp:52] Check failed: error == cudaSuccess (30 vs. 0) unknown error
*** Check failure stack trace: ***
----------------------------------------------------------------
In my development Environment, GPU seems not supported. Please see blow "Nvidia-smi" in my PC. But It seems that the Caffe tutorial considers to use GPU by default. So I think that I should uncomment the CPU_ONLY := 1 flag in Makefile.config" and build coffe again.
If something is wrong with my understanding, please let me know. Thanks.
Mon Aug 7 15:44:32 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Off | 0000:01:00.0 Off | N/A |
| 0% 41C P0 27W / 120W | 0MiB / 6064MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------------------------+
I have fixed the error about GPU. GPU is available in my development Env.
Now the demonstrates app for coffe is run correctly on my phone.
Thank you a lot.