[MediaVision][Non-ACR] Fix invalid model parameters 77/257677/1
authorTae-Young Chung <ty83.chung@samsung.com>
Thu, 29 Apr 2021 09:12:59 +0000 (18:12 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Thu, 29 Apr 2021 09:12:59 +0000 (18:12 +0900)
Change-Id: If505eb8f9c8ebf5088b494ff6be84782a0ebe485
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPoseLandmarkDetector.cs
tct-suite-vs/Tizen.MediaVision.Tests/testcase/support/InferenceFaceTestBase.cs
tct-suite-vs/Tizen.MediaVision.Tests/testcase/support/InferenceImageTestBase.cs

index 19966b5..14938bd 100644 (file)
@@ -63,7 +63,7 @@ namespace Tizen.Multimedia.Vision.Tests
             _pdConfig.InputNodeName = "image";
             _pdConfig.OutputNodeName = new string[]
             {
-                    "Convolution_Pose_Machine/stage_5_out",
+                    "Convolutional_Pose_Machine/stage_5_out",
             };
         }
         [Test]
index 76e7ada..f336b53 100644 (file)
@@ -75,8 +75,8 @@ namespace Tizen.Multimedia.Vision.Tests
             _fldConfig.DataType = InferenceDataType.Float32;
             _fldConfig.TensorSize = new Size(128, 128);
             _fldConfig.TensorChannels = 3;
-            _fldConfig.InputNodeName = "INPUT_TENSOR_NAME";
-            _fldConfig.OutputNodeName = new string[] { "OUTPUT_TENSOR_NAME" };
+            _fldConfig.InputNodeName = "Placeholder";
+            _fldConfig.OutputNodeName = new string[] { "fanet8ss_inference/fully_connected_1/Sigmoid" };
         }
     }
 }
index f78acf9..19e2c6c 100644 (file)
@@ -48,33 +48,34 @@ namespace Tizen.Multimedia.Vision.Tests
             _odConfig.CategoryFilePath = TestHelper.TFLitePath + "object_detector/od_label.txt";
             _odConfig.MeanValue = 127.0;
             _odConfig.StdValue = 127.0;
-            _odConfig.ConfidenceThreshold = 0.6;
+            _odConfig.ConfidenceThreshold = 0.3;
             _odConfig.Backend = InferenceBackendType.TFLite;
             _odConfig.Device = InferenceTargetDevice.CPU;
             _odConfig.DataType = InferenceDataType.Float32;
-            _odConfig.TensorSize = new Size(224, 224);
+            _odConfig.TensorSize = new Size(300, 300);
             _odConfig.TensorChannels = 3;
-            _odConfig.InputNodeName = "input_2";
-            _odConfig.OutputNodeName = new string[] { "dense_3/Softmax" };
+            _odConfig.InputNodeName = "normalized_input_image_tensor";
+            _odConfig.OutputNodeName = new string[]
+            {
+                "TFLite_Detection_PostProcess",
+                "TFLite_Detection_PostProcess:1",
+                "TFLite_Detection_PostProcess:2",
+                "TFLite_Detection_PostProcess:3"
+            };
+
 
             _icConfig.WeightFilePath = TestHelper.TFLitePath + "image_classifier/ic_tflite_model.tflite";
             _icConfig.CategoryFilePath = TestHelper.TFLitePath + "image_classifier/ic_label.txt";
             _icConfig.MeanValue = 127.5;
             _icConfig.StdValue = 127.5;
-            _icConfig.ConfidenceThreshold = 0.3;
+            _icConfig.ConfidenceThreshold = 0.5;
             _icConfig.Backend = InferenceBackendType.TFLite;
             _icConfig.Device = InferenceTargetDevice.CPU;
             _icConfig.DataType = InferenceDataType.Float32;
-            _icConfig.TensorSize = new Size(300, 300);
+            _icConfig.TensorSize = new Size(224, 224);
             _icConfig.TensorChannels = 3;
-            _icConfig.InputNodeName = "normalized_input_image_tensor";
-            _icConfig.OutputNodeName = new string[]
-            {
-                "TFLite_Detection_PostProcess",
-                "TFLite_Detection_PostProcess:1",
-                "TFLite_Detection_PostProcess:2",
-                "TFLite_Detection_PostProcess:3"
-            };
+            _icConfig.InputNodeName = "input_2";
+            _icConfig.OutputNodeName = new string[] { "dense_3/Softmax" };
         }
     }
 }