'add_algorithm'

This commit is contained in:
unknown 2025-07-30 17:50:09 +08:00
parent 7489473ba4
commit 12a8f7426c
3 changed files with 17 additions and 0 deletions

6
algorithm/data.yaml Normal file
View File

@ -0,0 +1,6 @@
path: dataset
train: images\train
val: images\val
device: 0
names:
0:

11
algorithm/train.py Normal file
View File

@ -0,0 +1,11 @@
from ultralytics import YOLO
model = YOLO("yolo11n.pt")
model.train(
data="data.yaml",
epochs=100,
imgsz=640,
batch=16,
name="train1"
)

BIN
algorithm/yolo11n.pt Normal file

Binary file not shown.