Apply meta json data type 79/259679/2
authorKwang Son <k.son@samsung.com>
Fri, 11 Jun 2021 03:22:25 +0000 (12:22 +0900)
committerKwang Son <k.son@samsung.com>
Fri, 11 Jun 2021 04:41:43 +0000 (13:41 +0900)
Change-Id: Ibd754d1b9aa78f594bd70fe1040c54758f477aff
Signed-off-by: Kwang Son <k.son@samsung.com>
mv_machine_learning/mv_inference/inference/src/Inference.cpp

index 17849bf..063a981 100755 (executable)
@@ -425,7 +425,7 @@ namespace inference
 
                for (auto& name : mConfig.mInputLayerNames) {
                        inference_engine_tensor_info tensor_info;
-                       tensor_info.data_type = ConvertToIE(dataType);
+                       tensor_info.data_type = ConvertToIE(mConfig.mDataType);
 
                        // In case of OpenCV, only supports NCHW
                        tensor_info.shape_type = INFERENCE_TENSOR_SHAPE_NCHW;