From d2f1c69e984107150165a43b135bcdabdf55262b Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 5 Jun 2024 08:30:39 -0700 Subject: [PATCH] predict: shuffle common files out of tflite --- plugins/coreml/src/detect | 2 +- plugins/coreml/src/predict | 2 +- plugins/onnx/src/detect | 2 +- plugins/onnx/src/predict | 2 +- plugins/openvino/src/detect | 1 - plugins/{tensorflow-lite => openvino}/src/detect/__init__.py | 0 plugins/{tensorflow-lite => openvino}/src/detect/corohelper.py | 0 plugins/openvino/src/predict | 1 - plugins/{tensorflow-lite => openvino}/src/predict/__init__.py | 0 .../{tensorflow-lite => openvino}/src/predict/craft_utils.py | 0 .../{tensorflow-lite => openvino}/src/predict/face_recognize.py | 0 plugins/{tensorflow-lite => openvino}/src/predict/rectangle.py | 0 .../{tensorflow-lite => openvino}/src/predict/text_recognize.py | 0 plugins/{tensorflow-lite => openvino}/src/predict/text_skew.py | 0 plugins/tensorflow-lite/src/detect | 1 + plugins/tensorflow-lite/src/predict | 1 + 16 files changed, 6 insertions(+), 6 deletions(-) delete mode 120000 plugins/openvino/src/detect rename plugins/{tensorflow-lite => openvino}/src/detect/__init__.py (100%) rename plugins/{tensorflow-lite => openvino}/src/detect/corohelper.py (100%) delete mode 120000 plugins/openvino/src/predict rename plugins/{tensorflow-lite => openvino}/src/predict/__init__.py (100%) rename plugins/{tensorflow-lite => openvino}/src/predict/craft_utils.py (100%) rename plugins/{tensorflow-lite => openvino}/src/predict/face_recognize.py (100%) rename plugins/{tensorflow-lite => openvino}/src/predict/rectangle.py (100%) rename plugins/{tensorflow-lite => openvino}/src/predict/text_recognize.py (100%) rename plugins/{tensorflow-lite => openvino}/src/predict/text_skew.py (100%) create mode 120000 plugins/tensorflow-lite/src/detect create mode 120000 plugins/tensorflow-lite/src/predict diff --git a/plugins/coreml/src/detect b/plugins/coreml/src/detect index e3b8b32b7..e38ba5142 120000 --- a/plugins/coreml/src/detect +++ b/plugins/coreml/src/detect @@ -1 +1 @@ -../../tensorflow-lite/src/detect \ No newline at end of file +../../openvino/src/detect/ \ No newline at end of file diff --git a/plugins/coreml/src/predict b/plugins/coreml/src/predict index ac7161fea..5aaf27c32 120000 --- a/plugins/coreml/src/predict +++ b/plugins/coreml/src/predict @@ -1 +1 @@ -../../tensorflow-lite/src/predict \ No newline at end of file +../../openvino/src/predict \ No newline at end of file diff --git a/plugins/onnx/src/detect b/plugins/onnx/src/detect index e3b8b32b7..e38ba5142 120000 --- a/plugins/onnx/src/detect +++ b/plugins/onnx/src/detect @@ -1 +1 @@ -../../tensorflow-lite/src/detect \ No newline at end of file +../../openvino/src/detect/ \ No newline at end of file diff --git a/plugins/onnx/src/predict b/plugins/onnx/src/predict index ac7161fea..5aaf27c32 120000 --- a/plugins/onnx/src/predict +++ b/plugins/onnx/src/predict @@ -1 +1 @@ -../../tensorflow-lite/src/predict \ No newline at end of file +../../openvino/src/predict \ No newline at end of file diff --git a/plugins/openvino/src/detect b/plugins/openvino/src/detect deleted file mode 120000 index e3b8b32b7..000000000 --- a/plugins/openvino/src/detect +++ /dev/null @@ -1 +0,0 @@ -../../tensorflow-lite/src/detect \ No newline at end of file diff --git a/plugins/tensorflow-lite/src/detect/__init__.py b/plugins/openvino/src/detect/__init__.py similarity index 100% rename from plugins/tensorflow-lite/src/detect/__init__.py rename to plugins/openvino/src/detect/__init__.py diff --git a/plugins/tensorflow-lite/src/detect/corohelper.py b/plugins/openvino/src/detect/corohelper.py similarity index 100% rename from plugins/tensorflow-lite/src/detect/corohelper.py rename to plugins/openvino/src/detect/corohelper.py diff --git a/plugins/openvino/src/predict b/plugins/openvino/src/predict deleted file mode 120000 index ac7161fea..000000000 --- a/plugins/openvino/src/predict +++ /dev/null @@ -1 +0,0 @@ -../../tensorflow-lite/src/predict \ No newline at end of file diff --git a/plugins/tensorflow-lite/src/predict/__init__.py b/plugins/openvino/src/predict/__init__.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/__init__.py rename to plugins/openvino/src/predict/__init__.py diff --git a/plugins/tensorflow-lite/src/predict/craft_utils.py b/plugins/openvino/src/predict/craft_utils.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/craft_utils.py rename to plugins/openvino/src/predict/craft_utils.py diff --git a/plugins/tensorflow-lite/src/predict/face_recognize.py b/plugins/openvino/src/predict/face_recognize.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/face_recognize.py rename to plugins/openvino/src/predict/face_recognize.py diff --git a/plugins/tensorflow-lite/src/predict/rectangle.py b/plugins/openvino/src/predict/rectangle.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/rectangle.py rename to plugins/openvino/src/predict/rectangle.py diff --git a/plugins/tensorflow-lite/src/predict/text_recognize.py b/plugins/openvino/src/predict/text_recognize.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/text_recognize.py rename to plugins/openvino/src/predict/text_recognize.py diff --git a/plugins/tensorflow-lite/src/predict/text_skew.py b/plugins/openvino/src/predict/text_skew.py similarity index 100% rename from plugins/tensorflow-lite/src/predict/text_skew.py rename to plugins/openvino/src/predict/text_skew.py diff --git a/plugins/tensorflow-lite/src/detect b/plugins/tensorflow-lite/src/detect new file mode 120000 index 000000000..e38ba5142 --- /dev/null +++ b/plugins/tensorflow-lite/src/detect @@ -0,0 +1 @@ +../../openvino/src/detect/ \ No newline at end of file diff --git a/plugins/tensorflow-lite/src/predict b/plugins/tensorflow-lite/src/predict new file mode 120000 index 000000000..5aaf27c32 --- /dev/null +++ b/plugins/tensorflow-lite/src/predict @@ -0,0 +1 @@ +../../openvino/src/predict \ No newline at end of file