if (access(model_str.c_str(), R_OK) ||
access(model_paths[1].c_str(), R_OK)) {
- LOGE("model file path in [%s,%s], errno=%s", model_str.c_str(),
- model_paths[1].c_str(),
- strerror(errno));
+ LOGE("model file path in [%s,%s]", model_str.c_str(),
+ model_paths[1].c_str());
return INFERENCE_ENGINE_ERROR_INVALID_PATH;
}
nnfw_type = ML_NNFW_TYPE_NNFW;
if (access(model_str.c_str(), R_OK)) {
- LOGE("model file path in [%s], errno=%s", model_str.c_str(),
- strerror(errno));
+ LOGE("model file path in [%s]", model_str.c_str());
return INFERENCE_ENGINE_ERROR_INVALID_PATH;
}