You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,我使用提供的mobilenet_V1模型部署到cup和gpu上时,运行android/build.sh dynamic 得到如下信息:
INFO: Build completed successfully, 234 total actions
./build.sh: line 66: /opt/android-ndk-r19c/ndk-depends: No such file or directory
./build.sh: line 70: /opt/android-ndk-r19c/ndk-depends: No such file or directory
然后,我用android studio 打开android工程,ndk使用r19c,进行编译,最终生成apk可以运行。
最后我将上述yml模型按照同样的方式部署到DSP时,同时修改了build.sh,添加hexagon_enabled=true. 在android工程initdata.java中将DEVICES = new String[]{"CPU", "GPU"};修改成DEVICES = new String[]{"CPU", "GPU","HEXAGON"};,MODELS设置为 mobilenet_v1_quant 。将编译完成的模型再次用android studio打包成apk时,最终生成的apk运行出错。
已经按照FAQ中的步骤操作完成,root权限已经开启。希望大佬能帮助,怎么将模型部署到dsp中。
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file
Error information / logs
Please include the full log and/or traceback here.
08-02 10:25:50.039 3244 3244 F DEBUG : Abort message: 'runtime_registry.cc:66 Check failed: registry_.count(runtime_key) > 0 Current MACE doesn't support the runtime type. runtime_type: 3, runtime_sub_type: 0, perhaps you have specified A type runtime in yml file to convert model but specified B type runtime in yml file to run model'08-02 10:22:01.506 1049 1365 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
Additional context
Add any other context about the problem here, e.g., what you have modified about the code.
The text was updated successfully, but these errors were encountered:
Before you open an issue, please make sure you have tried the following steps:
System information
Model deploy file (*.yml)
Describe the problem
您好,我使用提供的mobilenet_V1模型部署到cup和gpu上时,运行android/build.sh dynamic 得到如下信息:
INFO: Build completed successfully, 234 total actions
./build.sh: line 66: /opt/android-ndk-r19c/ndk-depends: No such file or directory
./build.sh: line 70: /opt/android-ndk-r19c/ndk-depends: No such file or directory
然后,我用android studio 打开android工程,ndk使用r19c,进行编译,最终生成apk可以运行。
最后我将上述yml模型按照同样的方式部署到DSP时,同时修改了build.sh,添加hexagon_enabled=true. 在android工程initdata.java中将DEVICES = new String[]{"CPU", "GPU"};修改成DEVICES = new String[]{"CPU", "GPU","HEXAGON"};,MODELS设置为 mobilenet_v1_quant 。将编译完成的模型再次用android studio打包成apk时,最终生成的apk运行出错。
已经按照FAQ中的步骤操作完成,root权限已经开启。希望大佬能帮助,怎么将模型部署到dsp中。
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace 2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file
Error information / logs
Please include the full log and/or traceback here.
Additional context
Add any other context about the problem here, e.g., what you have modified about the code.
The text was updated successfully, but these errors were encountered: