- 在 datasets/train/labels 目录下新增了多个标签文件 - 文件命名格式为:视频ID-帧序号.jpg.rf.哈希值.txt -标签内容包括物体类别和位置信息,用于训练目标检测模型
5 lines
96 B
Python
5 lines
96 B
Python
from ultralytics import YOLO
|
|
|
|
model = YOLO("yolov12s.yaml")
|
|
print("Model loaded successfully!")
|