yolo_train/data/data3.yaml
2025-02-28 09:27:38 +08:00

19 lines
1.4 KiB
YAML

train: ./data/2025-01-15-sea-salt_81/train/images
val: ./data/2025-01-15-sea-salt_81/valid/images
nc: 80
names: ['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light',
'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow',
'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee',
'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard',
'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple',
'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch',
'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone',
'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear',
'hair drier', 'toothbrush']
# python train.py --data data/data3.yaml --batch-size 32 --device=0 --epoch=50 --weights yolov5s.pt --imgsz 640 --hyp data/hyps/hyp.scratch-high.yaml
# 海盐
# python train.py --data data/data3.yaml --batch-size 32 --device=0 --epoch=50 --weights runs/train/exp23-train_4_with_small_lab/weights/best.pt --imgsz 640 --hyp data/hyps/hyp.scratch-med.yaml