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