dgenerate-ultralytics-headless 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.
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/METADATA +1 -1
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/RECORD +9 -9
- tests/test_exports.py +19 -1
- ultralytics/__init__.py +1 -1
- ultralytics/engine/exporter.py +1 -1
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/WHEEL +0 -0
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/entry_points.txt +0 -0
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/licenses/LICENSE +0 -0
- {dgenerate_ultralytics_headless-8.3.176.dist-info → dgenerate_ultralytics_headless-8.3.177.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dgenerate-ultralytics-headless
|
3
|
-
Version: 8.3.
|
3
|
+
Version: 8.3.177
|
4
4
|
Summary: Automatically built Ultralytics package with python-opencv-headless dependency instead of python-opencv
|
5
5
|
Author-email: Glenn Jocher <glenn.jocher@ultralytics.com>, Jing Qiu <jing.qiu@ultralytics.com>
|
6
6
|
Maintainer-email: Ultralytics <hello@ultralytics.com>
|
@@ -1,14 +1,14 @@
|
|
1
|
-
dgenerate_ultralytics_headless-8.3.
|
1
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
2
2
|
tests/__init__.py,sha256=b4KP5_q-2IO8Br8YHOSLYnn7IwZS81l_vfEF2YPa2lM,894
|
3
3
|
tests/conftest.py,sha256=LXtQJcFNWPGuzauTGkiXgsvVC3llJKfg22WcmhRzuQc,2593
|
4
4
|
tests/test_cli.py,sha256=EMf5gTAopOnIz8VvzaM-Qb044o7D0flnUHYQ-2ffOM4,5670
|
5
5
|
tests/test_cuda.py,sha256=-nQsfF3lGfqLm6cIeu_BCiXqLj7HzpL7R1GzPEc6z2I,8128
|
6
6
|
tests/test_engine.py,sha256=Jpt2KVrltrEgh2-3Ykouz-2Z_2fza0eymL5ectRXadM,4922
|
7
|
-
tests/test_exports.py,sha256=
|
7
|
+
tests/test_exports.py,sha256=CY-4xVZlVM16vdyIC0mSR3Ix59aiZm1qjFGIhSNmB20,11007
|
8
8
|
tests/test_integrations.py,sha256=kl_AKmE_Qs1GB0_91iVwbzNxofm_hFTt0zzU6JF-pg4,6323
|
9
9
|
tests/test_python.py,sha256=-qvdeg-hEcKU5mWSDEU24iFZ-i8FAwQRznSXpkp6WQ4,27928
|
10
10
|
tests/test_solutions.py,sha256=tuf6n_fsI8KvSdJrnc-cqP2qYdiYqCWuVrx0z9dOz3Q,13213
|
11
|
-
ultralytics/__init__.py,sha256=
|
11
|
+
ultralytics/__init__.py,sha256=hBzrXExeyo-zxXKBW2PwzDCW5hndyDerj2NQCxQF5y4,730
|
12
12
|
ultralytics/assets/bus.jpg,sha256=wCAZxJecGR63Od3ZRERe9Aja1Weayrb9Ug751DS_vGM,137419
|
13
13
|
ultralytics/assets/zidane.jpg,sha256=Ftc4aeMmen1O0A3o6GCDO9FlfBslLpTAw0gnetx7bts,50427
|
14
14
|
ultralytics/cfg/__init__.py,sha256=VIpPHImhjb0XLJquGZrG_LBGZchtOtBSXR7HYTYV2GU,39602
|
@@ -120,7 +120,7 @@ ultralytics/data/scripts/get_coco.sh,sha256=UuJpJeo3qQpTHVINeOpmP0NYmg8PhEFE3A8J
|
|
120
120
|
ultralytics/data/scripts/get_coco128.sh,sha256=qmRQl_hOKrsdHrTrnyQuFIH01oDz3lfaz138OgGfLt8,650
|
121
121
|
ultralytics/data/scripts/get_imagenet.sh,sha256=hr42H16bM47iT27rgS7MpEo-GeOZAYUQXgr0B2cwn48,1705
|
122
122
|
ultralytics/engine/__init__.py,sha256=lm6MckFYCPTbqIoX7w0s_daxdjNeBeKW6DXppv1-QUM,70
|
123
|
-
ultralytics/engine/exporter.py,sha256=
|
123
|
+
ultralytics/engine/exporter.py,sha256=8H5FRyBNC6tpVMHk1iBXVyq9CLVA9rrkqY5lHT6-IR8,75068
|
124
124
|
ultralytics/engine/model.py,sha256=877u2n0ISz2COOYtEMUqQe0E-HHB4Atb2DuH1XCE98k,53530
|
125
125
|
ultralytics/engine/predictor.py,sha256=iXnUB-tvBHtVpKbB-5EKs1wSREBIerdUxWx39MaFYuk,22485
|
126
126
|
ultralytics/engine/results.py,sha256=QcHcbPVlLBiy_APwABr-T5K65HR8Bl1rRzxawjjP76E,71873
|
@@ -266,8 +266,8 @@ ultralytics/utils/callbacks/neptune.py,sha256=j8pecmlcsM8FGzLKWoBw5xUsi5t8E5HuxY
|
|
266
266
|
ultralytics/utils/callbacks/raytune.py,sha256=S6Bq16oQDQ8BQgnZzA0zJHGN_BBr8iAM_WtGoLiEcwg,1283
|
267
267
|
ultralytics/utils/callbacks/tensorboard.py,sha256=MDPBW7aDes-66OE6YqKXXvqA_EocjzEMHWGM-8z9vUQ,5281
|
268
268
|
ultralytics/utils/callbacks/wb.py,sha256=Tm_-aRr2CN32MJkY9tylpMBJkb007-MSRNSQ7rDJ5QU,7521
|
269
|
-
dgenerate_ultralytics_headless-8.3.
|
270
|
-
dgenerate_ultralytics_headless-8.3.
|
271
|
-
dgenerate_ultralytics_headless-8.3.
|
272
|
-
dgenerate_ultralytics_headless-8.3.
|
273
|
-
dgenerate_ultralytics_headless-8.3.
|
269
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/METADATA,sha256=Ab4i3TVa7FICqy7bwVSdYFGNcqfu6Tg2QaOetQ1j7u0,38716
|
270
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
271
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/entry_points.txt,sha256=YM_wiKyTe9yRrsEfqvYolNO5ngwfoL4-NwgKzc8_7sI,93
|
272
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/top_level.txt,sha256=XP49TwiMw4QGsvTLSYiJhz1xF_k7ev5mQ8jJXaXi45Q,12
|
273
|
+
dgenerate_ultralytics_headless-8.3.177.dist-info/RECORD,,
|
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",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|