mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +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 BindYOLOX(pybind11::module& m) {
|
||||
pybind11::class_<vision::detection::YOLOX, FastDeployModel>(m, "YOLOX")
|
||||
.def(pybind11::init<std::string, std::string, RuntimeOption, Frontend>())
|
||||
.def(pybind11::init<std::string, std::string, RuntimeOption,
|
||||
ModelFormat>())
|
||||
.def("predict",
|
||||
[](vision::detection::YOLOX& self, pybind11::array& data,
|
||||
float conf_threshold, float nms_iou_threshold) {
|
||||
|
Reference in New Issue
Block a user