Skip to content

Conversation

@CoolKbh
Copy link
Contributor

@CoolKbh CoolKbh commented Jan 3, 2023

PR types(PR类型)

Issue

resolve #1030

Description

在/fast deploy/vision.h中class YOLOv7Face(FastDeployModel):下增加predict接口

@jiangjiajun jiangjiajun requested review from jiangjiajun and wjj19950828 and removed request for jiangjiajun January 3, 2023 10:22

assert self.initialized, "YOLOv7Face initialize failed."

def predict(self, input_image, conf_threshold=0.5, nms_iou_threshold=0.45):
Copy link
Collaborator

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来修改

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的

@CoolKbh CoolKbh changed the title Yolov7Face 增加predict的python接口 Yolov7Face add predict's python Interface Jan 3, 2023

assert self.initialized, "YOLOv7Face initialize failed."

def predict(self, input_image,):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

逗号去掉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants