Omit ultralytics/utils/callbacks from coverage (#4345)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d47718c367
commit
c940d29d4f
18 changed files with 63 additions and 36 deletions
|
|
@ -44,7 +44,7 @@ This example provides simple inference code for YOLO, SAM and RTDETR models. For
|
|||
model.info()
|
||||
|
||||
# Train the model on the COCO8 example dataset for 100 epochs
|
||||
results model.train(data='coco8.yaml', epochs=100, imgsz=640)
|
||||
results = model.train(data='coco8.yaml', epochs=100, imgsz=640)
|
||||
|
||||
# Run inference with the YOLOv8n model on the 'bus.jpg' image
|
||||
results = model('path/to/bus.jpg')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue