mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Model] Add Paddle3D smoke model (#1766)
* add smoke model * add 3d vis * update code * update doc * mv paddle3d from detection to perception * update result for velocity * update code for CI * add set input data for TRT backend * add serving support for smoke model * update code * update code * update code --------- Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
@@ -81,12 +81,18 @@ class PaddleBackend : public BaseBackend {
|
||||
|
||||
void
|
||||
CollectShapeRun(paddle_infer::Predictor* predictor,
|
||||
const std::map<std::string, std::vector<int>>& shape) const;
|
||||
const std::map<std::string, std::vector<int>>& shape,
|
||||
const std::map<std::string, std::vector<float>>& data) const;
|
||||
void GetDynamicShapeFromOption(
|
||||
const PaddleBackendOption& option,
|
||||
std::map<std::string, std::vector<int>>* max_shape,
|
||||
std::map<std::string, std::vector<int>>* min_shape,
|
||||
std::map<std::string, std::vector<int>>* opt_shape) const;
|
||||
void GetInputDataFromOption(
|
||||
const PaddleBackendOption& option,
|
||||
std::map<std::string, std::vector<float>>* max_input_data,
|
||||
std::map<std::string, std::vector<float>>* min_input_data,
|
||||
std::map<std::string, std::vector<float>>* opt_input_data) const;
|
||||
void SetTRTDynamicShapeToConfig(const PaddleBackendOption& option);
|
||||
PaddleBackendOption option_;
|
||||
paddle_infer::Config config_;
|
||||
|
Reference in New Issue
Block a user