forked from google-ai-edge/mediapipe
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
external/ovms/src/rerank/rerank_calculator.cc:373:29: error: 'rerank_calculator_logger' was not declared in this scope Even tough ovms is build with no mp no py option * Disable nonbuildable protos from setup.py * Patch for incompatible opencv with ovms external/ovms/src/tensor_conversion.cpp:55:16: error: 'CV_16F' was not declared in this scope; did you mean 'CV_16S'?
- Loading branch information
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/src/BUILD b/src/BUILD | ||
index 5fe77a7d3..42217ad25 100644 | ||
--- a/src/BUILD | ||
+++ b/src/BUILD | ||
@@ -458,8 +458,9 @@ cc_library( | ||
}) + select({ | ||
"//conditions:default": [], | ||
"//:not_disable_mediapipe" : [ | ||
- "//src/embeddings:embeddingscalculator", | ||
- "//src/rerank:rerankcalculator",], | ||
+ #"//src/embeddings:embeddingscalculator", | ||
+ #"//src/rerank:rerankcalculator",], | ||
+ ], | ||
}) + select({ | ||
"//:enable_drogon": ["libdrogon_http_server"], | ||
"//conditions:default" : ["libnet_http_server"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/src/tensor_conversion.cpp b/src/tensor_conversion.cpp | ||
index 9aae67caf..20f82162e 100644 | ||
--- a/src/tensor_conversion.cpp | ||
+++ b/src/tensor_conversion.cpp | ||
@@ -51,8 +51,10 @@ static int getMatTypeFromTensorPrecision(ovms::Precision tensorPrecision) { | ||
return CV_32F; | ||
case ovms::Precision::FP64: | ||
return CV_64F; | ||
+// TODO @atobisze - deosn't work on MP external/ovms/src/tensor_conversion.cpp:55:16: error: 'CV_16F' was not declared in this scope; did you mean 'CV_16S'? | ||
case ovms::Precision::FP16: | ||
- return CV_16F; | ||
+ // return CV_16F; | ||
+ return -1; | ||
case ovms::Precision::I16: | ||
return CV_16S; | ||
case ovms::Precision::U8: |