Add Classification model YAML support (#154)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
0e5a7ae623
commit
07eab49c3d
14 changed files with 199 additions and 71 deletions
|
|
@ -3,8 +3,8 @@ from pathlib import Path
|
|||
from ultralytics import YOLO
|
||||
from ultralytics.yolo.utils import ROOT, SETTINGS
|
||||
|
||||
CFG = 'yolov8n.yaml'
|
||||
MODEL = Path(SETTINGS['weights_dir']) / 'yolov8n.pt'
|
||||
CFG = 'yolov8n.yaml'
|
||||
SOURCE = ROOT / 'assets/bus.jpg'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue