Simplify usage, remove YOLO.new() and YOLO.load()
This commit is contained in:
parent
7b21a87da3
commit
d76d7af566
5 changed files with 33 additions and 42 deletions
|
|
@ -23,7 +23,7 @@ Requirements:
|
|||
|
||||
Python:
|
||||
from ultralytics import YOLO
|
||||
model = YOLO.new('yolov8n.yaml')
|
||||
model = YOLO('yolov8n.yaml')
|
||||
results = model.export(format='onnx')
|
||||
|
||||
CLI:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue