mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-13 20:34:02 +08:00
@@ -259,7 +259,7 @@ bool TrtBackend::InitFromOnnx(const std::string& model_file,
|
||||
<< option.serialize_file << ", will load it directly."
|
||||
<< std::endl;
|
||||
fin.close();
|
||||
return InitFromTrt(option.serialize_file);
|
||||
return InitFromTrt(option.serialize_file, option);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user