-
Notifications
You must be signed in to change notification settings - Fork 693
Yolov7Face add predict's python Interface #1039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| assert self.initialized, "YOLOv7Face initialize failed." | ||
|
|
||
| def predict(self, input_image, conf_threshold=0.5, nms_iou_threshold=0.45): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
先前已经确认后面predict只接收image,不再附加其它参数。 conf_threshold, nms_iou_threshold都改为调用preprocessor和postprocessor来修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
|
|
||
| assert self.initialized, "YOLOv7Face initialize failed." | ||
|
|
||
| def predict(self, input_image,): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
逗号去掉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
PR types(PR类型)
Issue
resolve #1030
Description
在/fast deploy/vision.h中class YOLOv7Face(FastDeployModel):下增加predict接口