Skip to content
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

作者咋导入pose模型进行标注啊,看了半天没看明白 #504

Closed
yxl23 opened this issue Jul 5, 2024 · 1 comment
Closed
Labels
question Further information is requested

Comments

@yxl23
Copy link

yxl23 commented Jul 5, 2024

No description provided.

@CVHub520
Copy link
Owner

CVHub520 commented Jul 5, 2024

Hey there! 🌵

  1. 可以参考下以下指令将您本地的 yolov8-pose.pt 模型进行转换:
from ultralytics import YOLO
# Load a model
model = YOLO('yolov8n-pose.pt')  # load an official model
# Export the model
model.export(format='onnx', dynamic=False, simplify=True)
  1. 参考 自行下载和添加模型的方法 #23 导入自定义模型,配置文件定义如下,可修改对应的选项,如模型路径,关键点定义等:
type: yolov8_pose
name: yolov8n-pose-r20231103
display_name: YOLOv8n-Pose Ultralytics
model_path: #替换为您的onnx模型本地路径
confidence_threshold: 0.5
nms_threshold: 0.6
kpt_threshold: 0.25
has_visible: true
classes:
  person:
    - nose
    - left_eye
    - right_eye
    - left_ear
    - right_ear
    - left_shoulder
    - right_shoulder
    - left_elbow
    - right_elbow
    - left_wrist
    - right_wrist
    - left_hip
    - right_hip
    - left_knee
    - right_knee
    - left_ankle
    - right_ankle
  1. 参考关键点标注规范:

image

  1. 参考导入导出设置

image

@CVHub520 CVHub520 added the question Further information is requested label Jul 5, 2024
@CVHub520 CVHub520 closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants