ultralytics 8.3.176__py3-none-any.whl → 8.3.177__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tests/test_exports.py +19 -1
- ultralytics/__init__.py +1 -1
- ultralytics/engine/exporter.py +1 -1
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/METADATA +1 -1
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/RECORD +9 -9
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/WHEEL +0 -0
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/entry_points.txt +0 -0
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/licenses/LICENSE +0 -0
- {ultralytics-8.3.176.dist-info → ultralytics-8.3.177.dist-info}/top_level.txt +0 -0
tests/test_exports.py
CHANGED
@@ -100,7 +100,9 @@ def test_export_onnx_matrix(task, dynamic, int8, half, batch, simplify, nms):
|
|
100
100
|
"task, dynamic, int8, half, batch, nms",
|
101
101
|
[ # generate all combinations except for exclusion cases
|
102
102
|
(task, dynamic, int8, half, batch, nms)
|
103
|
-
for task, dynamic, int8, half, batch, nms in product(
|
103
|
+
for task, dynamic, int8, half, batch, nms in product(
|
104
|
+
TASKS, [False, True], [False], [False], [1, 2], [True, False]
|
105
|
+
)
|
104
106
|
if not (task == "classify" and nms)
|
105
107
|
],
|
106
108
|
)
|
@@ -215,6 +217,22 @@ def test_export_mnn():
|
|
215
217
|
YOLO(file)(SOURCE, imgsz=32) # exported model inference
|
216
218
|
|
217
219
|
|
220
|
+
@pytest.mark.slow
|
221
|
+
@pytest.mark.parametrize(
|
222
|
+
"task, int8, half, batch",
|
223
|
+
[ # generate all combinations except for exclusion cases
|
224
|
+
(task, int8, half, batch)
|
225
|
+
for task, int8, half, batch in product(TASKS, [True, False], [True, False], [1, 2])
|
226
|
+
if not (int8 and half)
|
227
|
+
],
|
228
|
+
)
|
229
|
+
def test_export_mnn_matrix(task, int8, half, batch):
|
230
|
+
"""Test YOLO export to MNN format considering various export configurations."""
|
231
|
+
file = YOLO(TASK2MODEL[task]).export(format="mnn", imgsz=32, int8=int8, half=half, batch=batch)
|
232
|
+
YOLO(file)([SOURCE] * batch, imgsz=32) # exported model inference
|
233
|
+
Path(file).unlink() # cleanup
|
234
|
+
|
235
|
+
|
218
236
|
@pytest.mark.slow
|
219
237
|
def test_export_ncnn():
|
220
238
|
"""Test YOLO export to NCNN format."""
|
ultralytics/__init__.py
CHANGED
ultralytics/engine/exporter.py
CHANGED
@@ -115,7 +115,7 @@ def export_formats():
|
|
115
115
|
"""Return a dictionary of Ultralytics YOLO export formats."""
|
116
116
|
x = [
|
117
117
|
["PyTorch", "-", ".pt", True, True, []],
|
118
|
-
["TorchScript", "torchscript", ".torchscript", True, True, ["batch", "optimize", "half", "nms"]],
|
118
|
+
["TorchScript", "torchscript", ".torchscript", True, True, ["batch", "optimize", "half", "nms", "dynamic"]],
|
119
119
|
["ONNX", "onnx", ".onnx", True, True, ["batch", "dynamic", "half", "opset", "simplify", "nms"]],
|
120
120
|
[
|
121
121
|
"OpenVINO",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ultralytics
|
3
|
-
Version: 8.3.
|
3
|
+
Version: 8.3.177
|
4
4
|
Summary: Ultralytics YOLO 🚀 for SOTA object detection, multi-object tracking, instance segmentation, pose estimation and image classification.
|
5
5
|
Author-email: Glenn Jocher <glenn.jocher@ultralytics.com>, Jing Qiu <jing.qiu@ultralytics.com>
|
6
6
|
Maintainer-email: Ultralytics <hello@ultralytics.com>
|
@@ -3,11 +3,11 @@ tests/conftest.py,sha256=LXtQJcFNWPGuzauTGkiXgsvVC3llJKfg22WcmhRzuQc,2593
|
|
3
3
|
tests/test_cli.py,sha256=EMf5gTAopOnIz8VvzaM-Qb044o7D0flnUHYQ-2ffOM4,5670
|
4
4
|
tests/test_cuda.py,sha256=-nQsfF3lGfqLm6cIeu_BCiXqLj7HzpL7R1GzPEc6z2I,8128
|
5
5
|
tests/test_engine.py,sha256=Jpt2KVrltrEgh2-3Ykouz-2Z_2fza0eymL5ectRXadM,4922
|
6
|
-
tests/test_exports.py,sha256=
|
6
|
+
tests/test_exports.py,sha256=CY-4xVZlVM16vdyIC0mSR3Ix59aiZm1qjFGIhSNmB20,11007
|
7
7
|
tests/test_integrations.py,sha256=kl_AKmE_Qs1GB0_91iVwbzNxofm_hFTt0zzU6JF-pg4,6323
|
8
8
|
tests/test_python.py,sha256=-qvdeg-hEcKU5mWSDEU24iFZ-i8FAwQRznSXpkp6WQ4,27928
|
9
9
|
tests/test_solutions.py,sha256=tuf6n_fsI8KvSdJrnc-cqP2qYdiYqCWuVrx0z9dOz3Q,13213
|
10
|
-
ultralytics/__init__.py,sha256=
|
10
|
+
ultralytics/__init__.py,sha256=hBzrXExeyo-zxXKBW2PwzDCW5hndyDerj2NQCxQF5y4,730
|
11
11
|
ultralytics/assets/bus.jpg,sha256=wCAZxJecGR63Od3ZRERe9Aja1Weayrb9Ug751DS_vGM,137419
|
12
12
|
ultralytics/assets/zidane.jpg,sha256=Ftc4aeMmen1O0A3o6GCDO9FlfBslLpTAw0gnetx7bts,50427
|
13
13
|
ultralytics/cfg/__init__.py,sha256=VIpPHImhjb0XLJquGZrG_LBGZchtOtBSXR7HYTYV2GU,39602
|
@@ -119,7 +119,7 @@ ultralytics/data/scripts/get_coco.sh,sha256=UuJpJeo3qQpTHVINeOpmP0NYmg8PhEFE3A8J
|
|
119
119
|
ultralytics/data/scripts/get_coco128.sh,sha256=qmRQl_hOKrsdHrTrnyQuFIH01oDz3lfaz138OgGfLt8,650
|
120
120
|
ultralytics/data/scripts/get_imagenet.sh,sha256=hr42H16bM47iT27rgS7MpEo-GeOZAYUQXgr0B2cwn48,1705
|
121
121
|
ultralytics/engine/__init__.py,sha256=lm6MckFYCPTbqIoX7w0s_daxdjNeBeKW6DXppv1-QUM,70
|
122
|
-
ultralytics/engine/exporter.py,sha256=
|
122
|
+
ultralytics/engine/exporter.py,sha256=8H5FRyBNC6tpVMHk1iBXVyq9CLVA9rrkqY5lHT6-IR8,75068
|
123
123
|
ultralytics/engine/model.py,sha256=877u2n0ISz2COOYtEMUqQe0E-HHB4Atb2DuH1XCE98k,53530
|
124
124
|
ultralytics/engine/predictor.py,sha256=iXnUB-tvBHtVpKbB-5EKs1wSREBIerdUxWx39MaFYuk,22485
|
125
125
|
ultralytics/engine/results.py,sha256=QcHcbPVlLBiy_APwABr-T5K65HR8Bl1rRzxawjjP76E,71873
|
@@ -265,9 +265,9 @@ ultralytics/utils/callbacks/neptune.py,sha256=j8pecmlcsM8FGzLKWoBw5xUsi5t8E5HuxY
|
|
265
265
|
ultralytics/utils/callbacks/raytune.py,sha256=S6Bq16oQDQ8BQgnZzA0zJHGN_BBr8iAM_WtGoLiEcwg,1283
|
266
266
|
ultralytics/utils/callbacks/tensorboard.py,sha256=MDPBW7aDes-66OE6YqKXXvqA_EocjzEMHWGM-8z9vUQ,5281
|
267
267
|
ultralytics/utils/callbacks/wb.py,sha256=Tm_-aRr2CN32MJkY9tylpMBJkb007-MSRNSQ7rDJ5QU,7521
|
268
|
-
ultralytics-8.3.
|
269
|
-
ultralytics-8.3.
|
270
|
-
ultralytics-8.3.
|
271
|
-
ultralytics-8.3.
|
272
|
-
ultralytics-8.3.
|
273
|
-
ultralytics-8.3.
|
268
|
+
ultralytics-8.3.177.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
269
|
+
ultralytics-8.3.177.dist-info/METADATA,sha256=RK2QGMce25Sf-8S58uHGcnV1Om037RCPvZp9qD1sqEw,37620
|
270
|
+
ultralytics-8.3.177.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
271
|
+
ultralytics-8.3.177.dist-info/entry_points.txt,sha256=YM_wiKyTe9yRrsEfqvYolNO5ngwfoL4-NwgKzc8_7sI,93
|
272
|
+
ultralytics-8.3.177.dist-info/top_level.txt,sha256=XP49TwiMw4QGsvTLSYiJhz1xF_k7ev5mQ8jJXaXi45Q,12
|
273
|
+
ultralytics-8.3.177.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|