ultralytics 8.3.28 new Solutions CLI commands (#17233)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
d049e22769
commit
3c976807b8
17 changed files with 310 additions and 48 deletions
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
|
|
@ -325,6 +325,7 @@ jobs:
|
|||
yolo train model=yolo11n.pt data=coco8.yaml epochs=1 imgsz=32
|
||||
yolo val model=yolo11n.pt data=coco8.yaml imgsz=32
|
||||
yolo export model=yolo11n.pt format=torchscript imgsz=160
|
||||
yolo solutions
|
||||
- name: Test Python
|
||||
# Note this step must use the updated default bash environment, not a python environment
|
||||
run: |
|
||||
|
|
@ -335,6 +336,8 @@ jobs:
|
|||
results = model.val(imgsz=160)
|
||||
results = model.predict(imgsz=160)
|
||||
results = model.export(format='onnx', imgsz=160)
|
||||
from ultralytics.cfg import handle_yolo_solutions
|
||||
handle_yolo_solutions(["show=False"])
|
||||
"
|
||||
- name: PyTest
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets._GITHUB_TOKEN }}
|
||||
ref: ${{ github.head_ref || github.ref }}
|
||||
fetch-depth: 0
|
||||
- name: Set up Python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue