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