[Ext/Filter/Python] Set verify_model_path as TRUE
authorWook Song <wook16.song@samsung.com>
Tue, 29 Sep 2020 14:40:47 +0000 (23:40 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 6 Oct 2020 07:52:01 +0000 (16:52 +0900)
This patch sets verify_model_path as TRUE to delegate the verification
of the given model files (i.e., .py scripts) to the NNS common
framework.

Signed-off-by: Wook Song <wook16.song@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_python.cc

index af34afe..afdc686 100644 (file)
@@ -974,7 +974,7 @@ static GstTensorFilterFramework NNS_support_python = {
       .allow_in_place = FALSE, /** @todo: support this to optimize performance later. */
       .allocate_in_invoke = TRUE,
       .run_without_model = FALSE,
-      .verify_model_path = FALSE,
+      .verify_model_path = TRUE,
       .statistics = nullptr,
       .invoke_NN = py_run,
       /** dimension-related callbacks are dynamically updated */