mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-08 18:11:00 +08:00
Rename fastdeploy_runtime.h to runtime.h and Frontend to ModelFormat (#263)
rename frontend to model_format
This commit is contained in:
@@ -18,7 +18,8 @@ namespace fastdeploy {
|
||||
void BindNanoDetPlus(pybind11::module& m) {
|
||||
pybind11::class_<vision::detection::NanoDetPlus, FastDeployModel>(
|
||||
m, "NanoDetPlus")
|
||||
.def(pybind11::init<std::string, std::string, RuntimeOption, Frontend>())
|
||||
.def(pybind11::init<std::string, std::string, RuntimeOption,
|
||||
ModelFormat>())
|
||||
.def("predict",
|
||||
[](vision::detection::NanoDetPlus& self, pybind11::array& data,
|
||||
float conf_threshold, float nms_iou_threshold) {
|
||||
|
Reference in New Issue
Block a user