mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
fix: typo of log
This commit is contained in:
@@ -264,7 +264,7 @@ bool OrtBackend::InitFromOnnx(const std::string& model_file,
|
||||
paddle2onnx::ConvertFP32ToFP16(model_file.c_str(), model_file.size(),
|
||||
&model_content_ptr, &model_content_size);
|
||||
#else
|
||||
FDERROR << "Didn't compile with PaddlePaddle Frontend, FP16 is not supported" << std::endl;
|
||||
FDERROR << "Didn't compile with ENABLE_PADDLE2ONNX, FP16 is not supported" << std::endl;
|
||||
return false;
|
||||
#endif
|
||||
std::string onnx_model_proto(model_content_ptr,
|
||||
|
||||
Reference in New Issue
Block a user