EXPECT_EQ(mv_engine_config_set_string_attribute(
handle, MV_INFERENCE_MODEL_WEIGHT_FILE_PATH, tf_weight),
MEDIA_VISION_ERROR_NONE);
+
+ std::string meta_file_path = tf_weight;
+ meta_file_path = meta_file_path.substr(0, meta_file_path.find('.'));
+ meta_file_path += std::string(".json");
+
+ EXPECT_EQ(mv_engine_config_set_string_attribute(
+ handle, MV_INFERENCE_MODEL_META_FILE_PATH , meta_file_path.c_str()),
+ MEDIA_VISION_ERROR_NONE);
EXPECT_EQ(mv_engine_config_set_int_attribute(handle,
MV_INFERENCE_BACKEND_TYPE,
MV_INFERENCE_BACKEND_TFLITE),