diff options
-rw-r--r-- | mv_inference/inference/src/mv_inference_open.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mv_inference/inference/src/mv_inference_open.cpp b/mv_inference/inference/src/mv_inference_open.cpp index e63d2b92..521d72b5 100644 --- a/mv_inference/inference/src/mv_inference_open.cpp +++ b/mv_inference/inference/src/mv_inference_open.cpp @@ -181,7 +181,8 @@ int mv_inference_configure_model_open(mv_inference_h infer, if ((backendType > MV_INFERENCE_BACKEND_NONE && backendType < MV_INFERENCE_BACKEND_MAX) && (backendType != MV_INFERENCE_BACKEND_TFLITE) && - (backendType != MV_INFERENCE_BACKEND_ARMNN)) { + (backendType != MV_INFERENCE_BACKEND_ARMNN) && + (backendType != MV_INFERENCE_BACKEND_NNFW)) { if (access(modelConfigFilePath, F_OK)) { LOGE("modelConfigFilePath in [%s] ", modelConfigFilePath); ret = MEDIA_VISION_ERROR_INVALID_PATH; |