ultralytics 8.3.25 Alibaba MNN export and predict support (#16802)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Francesco Mattioli <Francesco.mttl@gmail.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
11b4194344
commit
9c72d94ba4
14 changed files with 465 additions and 39 deletions
|
|
@ -197,3 +197,10 @@ def test_export_ncnn():
|
|||
"""Test YOLO exports to NCNN format."""
|
||||
file = YOLO(MODEL).export(format="ncnn", imgsz=32)
|
||||
YOLO(file)(SOURCE, imgsz=32) # exported model inference
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_export_mnn():
|
||||
"""Test YOLO exports to MNN format."""
|
||||
file = YOLO(MODEL).export(format="mnn", imgsz=32)
|
||||
YOLO(file)(SOURCE, imgsz=32) # exported model inference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue