ultralytics 8.1.17__py3-none-any.whl → 8.1.18__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.
Potentially problematic release.
This version of ultralytics might be problematic. Click here for more details.
- ultralytics/__init__.py +1 -1
- ultralytics/engine/exporter.py +8 -2
- ultralytics/models/yolo/obb/train.py +1 -1
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/METADATA +1 -1
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/RECORD +9 -9
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/LICENSE +0 -0
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/WHEEL +0 -0
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/entry_points.txt +0 -0
- {ultralytics-8.1.17.dist-info → ultralytics-8.1.18.dist-info}/top_level.txt +0 -0
ultralytics/__init__.py
CHANGED
ultralytics/engine/exporter.py
CHANGED
|
@@ -343,6 +343,8 @@ class Exporter:
|
|
|
343
343
|
requirements = ["onnx>=1.12.0"]
|
|
344
344
|
if self.args.simplify:
|
|
345
345
|
requirements += ["onnxsim>=0.4.33", "onnxruntime-gpu" if torch.cuda.is_available() else "onnxruntime"]
|
|
346
|
+
if ARM64:
|
|
347
|
+
check_requirements("cmake") # 'cmake' is needed to build onnxsim on aarch64
|
|
346
348
|
check_requirements(requirements)
|
|
347
349
|
import onnx # noqa
|
|
348
350
|
|
|
@@ -712,8 +714,12 @@ class Exporter:
|
|
|
712
714
|
try:
|
|
713
715
|
import tensorflow as tf # noqa
|
|
714
716
|
except ImportError:
|
|
715
|
-
|
|
717
|
+
suffix = "-macos" if MACOS else "-aarch64" if ARM64 else "" if cuda else "-cpu"
|
|
718
|
+
version = "" if ARM64 else "<=2.13.1"
|
|
719
|
+
check_requirements(f"tensorflow{suffix}{version}")
|
|
716
720
|
import tensorflow as tf # noqa
|
|
721
|
+
if ARM64:
|
|
722
|
+
check_requirements("cmake") # 'cmake' is needed to build onnxsim on aarch64
|
|
717
723
|
check_requirements(
|
|
718
724
|
(
|
|
719
725
|
"onnx>=1.12.0",
|
|
@@ -722,7 +728,7 @@ class Exporter:
|
|
|
722
728
|
"onnxsim>=0.4.33",
|
|
723
729
|
"onnx_graphsurgeon>=0.3.26",
|
|
724
730
|
"tflite_support",
|
|
725
|
-
"flatbuffers>=23.5.26", # update old 'flatbuffers' included inside tensorflow package
|
|
731
|
+
"flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package
|
|
726
732
|
"onnxruntime-gpu" if cuda else "onnxruntime",
|
|
727
733
|
),
|
|
728
734
|
cmds="--extra-index-url https://pypi.ngc.nvidia.com",
|
|
@@ -15,7 +15,7 @@ class OBBTrainer(yolo.detect.DetectionTrainer):
|
|
|
15
15
|
```python
|
|
16
16
|
from ultralytics.models.yolo.obb import OBBTrainer
|
|
17
17
|
|
|
18
|
-
args = dict(model='yolov8n-
|
|
18
|
+
args = dict(model='yolov8n-obb.pt', data='dota8.yaml', epochs=3)
|
|
19
19
|
trainer = OBBTrainer(overrides=args)
|
|
20
20
|
trainer.train()
|
|
21
21
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ultralytics
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.18
|
|
4
4
|
Summary: Ultralytics YOLOv8 for SOTA object detection, multi-object tracking, instance segmentation, pose estimation and image classification.
|
|
5
5
|
Author: Glenn Jocher, Ayush Chaurasia, Jing Qiu
|
|
6
6
|
Maintainer: Glenn Jocher, Ayush Chaurasia, Jing Qiu
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ultralytics/__init__.py,sha256=
|
|
1
|
+
ultralytics/__init__.py,sha256=cj9OEJhbNcLB4SoAjbT-n9C1J4GpPquNS_G1ewVon0w,625
|
|
2
2
|
ultralytics/assets/bus.jpg,sha256=wCAZxJecGR63Od3ZRERe9Aja1Weayrb9Ug751DS_vGM,137419
|
|
3
3
|
ultralytics/assets/zidane.jpg,sha256=Ftc4aeMmen1O0A3o6GCDO9FlfBslLpTAw0gnetx7bts,50427
|
|
4
4
|
ultralytics/cfg/__init__.py,sha256=OZe3OfyNAeT1lRI7uJVM_Lla91mxGYgJMxrwyT7VP6o,20768
|
|
@@ -71,7 +71,7 @@ ultralytics/data/explorer/utils.py,sha256=a6ugY8rKpFM8dIRcUwRyjRkRJ-zXEwe-NiJr6C
|
|
|
71
71
|
ultralytics/data/explorer/gui/__init__.py,sha256=mHtJuK4hwF8cuV-VHDc7tp6u6D1gHz2Z7JI8grmQDTs,42
|
|
72
72
|
ultralytics/data/explorer/gui/dash.py,sha256=3Vi-k2LpUis-WHZ81Qnzlj71wpTCr4A8YxjUl0-v8T4,10042
|
|
73
73
|
ultralytics/engine/__init__.py,sha256=mHtJuK4hwF8cuV-VHDc7tp6u6D1gHz2Z7JI8grmQDTs,42
|
|
74
|
-
ultralytics/engine/exporter.py,sha256=
|
|
74
|
+
ultralytics/engine/exporter.py,sha256=KlhsJlNAm_RmBWQ1HvhB0pedC7YeNTUlipH2tSz_crs,52827
|
|
75
75
|
ultralytics/engine/model.py,sha256=MPFMnpOnmfezswRi_7vi8aDAbVn1xEEac9EUlSyvK1o,38620
|
|
76
76
|
ultralytics/engine/predictor.py,sha256=95ujaUYbDtui-s4hloGmJ0yVm9IC05Ck5dyoyNTk0BU,17832
|
|
77
77
|
ultralytics/engine/results.py,sha256=SY3sn2OBMfAFaPoaDKo0Wu-jSi7avISYohjtR_bur9M,30120
|
|
@@ -124,7 +124,7 @@ ultralytics/models/yolo/detect/train.py,sha256=zvxmevSiWNq8rdlGYeM3SZkMCcFh0qFQN
|
|
|
124
124
|
ultralytics/models/yolo/detect/val.py,sha256=YoYXAKXl8TofZgkSq1BtmGfT4YtwtHA7z-8Wmnahlgk,13395
|
|
125
125
|
ultralytics/models/yolo/obb/__init__.py,sha256=txWbPGLY1_M7ZwlLQjrwGjTBOlsv9P3yk5ZEgysTinU,193
|
|
126
126
|
ultralytics/models/yolo/obb/predict.py,sha256=prfDzhwuVHKF6CRwnFVBA-YFI5q7U7NEQwITGHmB2Ow,2037
|
|
127
|
-
ultralytics/models/yolo/obb/train.py,sha256=
|
|
127
|
+
ultralytics/models/yolo/obb/train.py,sha256=tWpFtcasMwWq1A_9VdbEg5pIVHwuWwmeLOyj-S4_1sY,1473
|
|
128
128
|
ultralytics/models/yolo/obb/val.py,sha256=Wml-loYT5Uy4Mx6UmxNOrmURT13DIOBk_rFSs55NTNg,8500
|
|
129
129
|
ultralytics/models/yolo/pose/__init__.py,sha256=OGvxN3LqJot2h8GX1csJ1KErsHnDKsm33Ce6ZBU9Lr4,199
|
|
130
130
|
ultralytics/models/yolo/pose/predict.py,sha256=illk4qyZvybc_XMo9TKT54FIkizx91MYviE5c5OwBTQ,2404
|
|
@@ -187,9 +187,9 @@ ultralytics/utils/callbacks/neptune.py,sha256=5Z3ua5YBTUS56FH8VQKQG1aaIo9fH8GEyz
|
|
|
187
187
|
ultralytics/utils/callbacks/raytune.py,sha256=6OgGNuC35F29lw8Dl_d0lue4-iBR6dqrBVQnIRQDx4E,632
|
|
188
188
|
ultralytics/utils/callbacks/tensorboard.py,sha256=fyhgBgcTmEIifBqxBJkoMZ6yQNBGhSLQBAsy770-RtA,4038
|
|
189
189
|
ultralytics/utils/callbacks/wb.py,sha256=4QI81nHdzgwhXHlmTiRxLqunvkKakLXYUhHTUY1ZeHA,6635
|
|
190
|
-
ultralytics-8.1.
|
|
191
|
-
ultralytics-8.1.
|
|
192
|
-
ultralytics-8.1.
|
|
193
|
-
ultralytics-8.1.
|
|
194
|
-
ultralytics-8.1.
|
|
195
|
-
ultralytics-8.1.
|
|
190
|
+
ultralytics-8.1.18.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
191
|
+
ultralytics-8.1.18.dist-info/METADATA,sha256=oLVu0mxCXjoXS71R27VC8ElxklBr7_s6J0KmVzSYZfg,40364
|
|
192
|
+
ultralytics-8.1.18.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
193
|
+
ultralytics-8.1.18.dist-info/entry_points.txt,sha256=YM_wiKyTe9yRrsEfqvYolNO5ngwfoL4-NwgKzc8_7sI,93
|
|
194
|
+
ultralytics-8.1.18.dist-info/top_level.txt,sha256=XP49TwiMw4QGsvTLSYiJhz1xF_k7ev5mQ8jJXaXi45Q,12
|
|
195
|
+
ultralytics-8.1.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|