diff options
author | Inki Dae <inki.dae@samsung.com> | 2023-11-10 13:03:59 +0900 |
---|---|---|
committer | Kwanghoon Son <k.son@samsung.com> | 2023-11-14 16:52:55 +0900 |
commit | b67c6278ad75b00bbe9de63bf0af7a78e873c41f (patch) | |
tree | 23b22eec8ea8a7dd227cba9930b5e47916281f96 /test/testsuites/machine_learning | |
parent | 82354404dc6ababdbcd9f7089b8f3ba0073db218 (diff) | |
download | mediavision-b67c6278ad75b00bbe9de63bf0af7a78e873c41f.tar.gz mediavision-b67c6278ad75b00bbe9de63bf0af7a78e873c41f.tar.bz2 mediavision-b67c6278ad75b00bbe9de63bf0af7a78e873c41f.zip |
mv_machine_learning: use MachineLearningConfig class for other task groups
[Issue type] : code refactoring
Use MachineLearningConfig class for other task groups instead of internal ones.
We have introduced a new common config class[1] and object detection and
object detection 3d task groups use already it. So this patch makes
other task groups - which not use the common config class - to use the
common class instead of internal ones, and drop the internal config class.
In addition, this patch applies confidence threshold config key for
landmark detection task group to MachineLearningConfig class.
[1] https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/301043/
Change-Id: I6e77ce33349bbdcb22f64102a7ec3f8808249b1c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'test/testsuites/machine_learning')
-rw-r--r-- | test/testsuites/machine_learning/image_classification/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/testsuites/machine_learning/landmark_detection/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/testsuites/machine_learning/image_classification/CMakeLists.txt b/test/testsuites/machine_learning/image_classification/CMakeLists.txt index 03580d7c..e92889ac 100644 --- a/test/testsuites/machine_learning/image_classification/CMakeLists.txt +++ b/test/testsuites/machine_learning/image_classification/CMakeLists.txt @@ -9,6 +9,7 @@ add_executable(${TEST_IMAGE_CLASSIFICATION_ASYNC} test_image_classification_asyn target_compile_definitions(${TEST_IMAGE_CLASSIFICATION} PRIVATE -DTEST_RES_PATH="${TEST_RES_PATH}") target_link_libraries(${TEST_IMAGE_CLASSIFICATION} gtest gtest_main + mv_ml_common mv_inference mv_image_classification mv_image_helper @@ -16,6 +17,7 @@ target_link_libraries(${TEST_IMAGE_CLASSIFICATION} gtest gtest_main target_compile_definitions(${TEST_IMAGE_CLASSIFICATION_ASYNC} PRIVATE -DTEST_RES_PATH="${TEST_RES_PATH}") target_link_libraries(${TEST_IMAGE_CLASSIFICATION_ASYNC} gtest gtest_main pthread + mv_ml_common mv_inference mv_image_classification mv_image_helper diff --git a/test/testsuites/machine_learning/landmark_detection/CMakeLists.txt b/test/testsuites/machine_learning/landmark_detection/CMakeLists.txt index 718c65e5..47dfade3 100644 --- a/test/testsuites/machine_learning/landmark_detection/CMakeLists.txt +++ b/test/testsuites/machine_learning/landmark_detection/CMakeLists.txt @@ -8,12 +8,14 @@ add_executable(${TEST_LANDMARK_DETECTION} test_landmark_detection.cpp) add_executable(${TEST_LANDMARK_DETECTION_ASYNC} test_landmark_detection_async.cpp) target_link_libraries(${TEST_LANDMARK_DETECTION} gtest gtest_main + mv_ml_common mv_inference mv_landmark_detection mv_image_helper ) target_link_libraries(${TEST_LANDMARK_DETECTION_ASYNC} gtest gtest_main pthread + mv_ml_common mv_inference mv_landmark_detection mv_image_helper |