forked from mindspore-Ecosystem/mindspore
!6213 [MS][LITE]fix the compilation failure
Merge pull request !6213 from gongdaguo/fix_compilation
This commit is contained in:
commit
e0953c47c3
|
@ -1,2 +1,2 @@
|
||||||
ssd.pb
|
#ssd.pb
|
||||||
mobilenet_v2.pb
|
mobilenet_v2.pb
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
video_infer.tflite
|
video_infer.tflite
|
||||||
mobilenet_v1_1.0_224_quant.tflite
|
#mobilenet_v1_1.0_224_quant.tflite
|
||||||
mobilenet_v2_1.0_224_quant.tflite
|
mobilenet_v2_1.0_224_quant.tflite
|
||||||
hiai_graph_8bit_combined.tflite
|
hiai_graph_8bit_combined.tflite
|
||||||
inception_v1_224_quant.tflite
|
inception_v1_224_quant.tflite
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# MindSpore
|
# MindSpore
|
||||||
build/
|
build/
|
||||||
mindspore/lib
|
mindspore/lib
|
||||||
|
app/src/main/assets/model
|
||||||
output
|
output
|
||||||
*.ir
|
*.ir
|
||||||
mindspore/ccsrc/schema/inner/*
|
mindspore/ccsrc/schema/inner/*
|
||||||
|
|
|
@ -14,7 +14,7 @@ def mindSporeLibrary_arm64 = "libs/arm64-v8a/libmindspore-lite.so"
|
||||||
def openCVlibIncluding_arm64 = "src/main/cpp/include/opencv2/include.zip"
|
def openCVlibIncluding_arm64 = "src/main/cpp/include/opencv2/include.zip"
|
||||||
def mindSporeLibIncluding_arm64 = "src/main/cpp/include/MindSpore/include.zip"
|
def mindSporeLibIncluding_arm64 = "src/main/cpp/include/MindSpore/include.zip"
|
||||||
|
|
||||||
def modelDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_openimage_lite/mobilenetv2.ms"
|
def modelDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_openimage_lite/mobilenetv2_0.7.ms"
|
||||||
def opencvDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/opencv%204.4.0/libopencv_java4.so"
|
def opencvDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/opencv%204.4.0/libopencv_java4.so"
|
||||||
def mindsporeLiteDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/mindspore%20version%200.7/libmindspore-lite.so"
|
def mindsporeLiteDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/mindspore%20version%200.7/libmindspore-lite.so"
|
||||||
def opencvincludeDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/opencv%204.4.0/include.zip"
|
def opencvincludeDownloadUrl = "https://download.mindspore.cn/model_zoo/official/lite/lib/opencv%204.4.0/include.zip"
|
||||||
|
|
Binary file not shown.
|
@ -52,7 +52,6 @@ class MSNetWork {
|
||||||
|
|
||||||
int ReleaseNets(void);
|
int ReleaseNets(void);
|
||||||
|
|
||||||
protected:
|
|
||||||
mindspore::session::LiteSession *session;
|
mindspore::session::LiteSession *session;
|
||||||
mindspore::lite::Model *model;
|
mindspore::lite::Model *model;
|
||||||
static const int RET_CATEGORY_SUM = 601;
|
static const int RET_CATEGORY_SUM = 601;
|
||||||
|
|
Loading…
Reference in New Issue