ultralytics 8.3.34__py3-none-any.whl → 8.3.35__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.
ultralytics/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ultralytics YOLO 🚀, AGPL-3.0 license
2
2
 
3
- __version__ = "8.3.34"
3
+ __version__ = "8.3.35"
4
4
 
5
5
  import os
6
6
 
@@ -153,7 +153,11 @@ class BasePredictor:
153
153
  (list): A list of transformed images.
154
154
  """
155
155
  same_shapes = len({x.shape for x in im}) == 1
156
- letterbox = LetterBox(self.imgsz, auto=same_shapes and self.model.pt, stride=self.model.stride)
156
+ letterbox = LetterBox(
157
+ self.imgsz,
158
+ auto=same_shapes and (self.model.pt or getattr(self.model, "dynamic", False)),
159
+ stride=self.model.stride,
160
+ )
157
161
  return [letterbox(image=x) for x in im]
158
162
 
159
163
  def postprocess(self, preds, img, orig_imgs):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultralytics
3
- Version: 8.3.34
3
+ Version: 8.3.35
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>
@@ -33,6 +33,7 @@ Requires-Python: >=3.8
33
33
  Description-Content-Type: text/markdown
34
34
  License-File: LICENSE
35
35
  Requires-Dist: numpy>=1.23.0
36
+ Requires-Dist: numpy<2.0.0; sys_platform == "darwin"
36
37
  Requires-Dist: matplotlib>=3.3.0
37
38
  Requires-Dist: opencv-python>=4.6.0
38
39
  Requires-Dist: pillow>=7.1.2
@@ -40,6 +41,7 @@ Requires-Dist: pyyaml>=5.3.1
40
41
  Requires-Dist: requests>=2.23.0
41
42
  Requires-Dist: scipy>=1.4.1
42
43
  Requires-Dist: torch>=1.8.0
44
+ Requires-Dist: torch!=2.4.0,>=1.8.0; sys_platform == "win32"
43
45
  Requires-Dist: torchvision>=0.9.0
44
46
  Requires-Dist: tqdm>=4.64.0
45
47
  Requires-Dist: psutil
@@ -47,8 +49,6 @@ Requires-Dist: py-cpuinfo
47
49
  Requires-Dist: pandas>=1.1.4
48
50
  Requires-Dist: seaborn>=0.11.0
49
51
  Requires-Dist: ultralytics-thop>=2.0.0
50
- Requires-Dist: numpy<2.0.0; sys_platform == "darwin"
51
- Requires-Dist: torch!=2.4.0,>=1.8.0; sys_platform == "win32"
52
52
  Provides-Extra: dev
53
53
  Requires-Dist: ipython; extra == "dev"
54
54
  Requires-Dist: pytest; extra == "dev"
@@ -63,28 +63,28 @@ Requires-Dist: mkdocs-ultralytics-plugin>=0.1.8; extra == "dev"
63
63
  Requires-Dist: mkdocs-macros-plugin>=1.0.5; extra == "dev"
64
64
  Provides-Extra: export
65
65
  Requires-Dist: onnx>=1.12.0; extra == "export"
66
+ Requires-Dist: coremltools>=7.0; (platform_system != "Windows" and python_version <= "3.11") and extra == "export"
67
+ Requires-Dist: scikit-learn>=1.3.2; (platform_system != "Windows" and python_version <= "3.11") and extra == "export"
66
68
  Requires-Dist: openvino>=2024.0.0; extra == "export"
67
69
  Requires-Dist: tensorflow>=2.0.0; extra == "export"
68
70
  Requires-Dist: tensorflowjs>=3.9.0; extra == "export"
71
+ Requires-Dist: tensorstore>=0.1.63; (platform_machine == "aarch64" and python_version >= "3.9") and extra == "export"
69
72
  Requires-Dist: keras; extra == "export"
70
73
  Requires-Dist: flatbuffers<100,>=23.5.26; platform_machine == "aarch64" and extra == "export"
71
74
  Requires-Dist: numpy==1.23.5; platform_machine == "aarch64" and extra == "export"
72
75
  Requires-Dist: h5py!=3.11.0; platform_machine == "aarch64" and extra == "export"
73
- Requires-Dist: tensorstore>=0.1.63; (platform_machine == "aarch64" and python_version >= "3.9") and extra == "export"
74
- Requires-Dist: coremltools>=7.0; (platform_system != "Windows" and python_version <= "3.11") and extra == "export"
75
- Requires-Dist: scikit-learn>=1.3.2; (platform_system != "Windows" and python_version <= "3.11") and extra == "export"
76
+ Provides-Extra: solutions
77
+ Requires-Dist: shapely>=2.0.0; extra == "solutions"
78
+ Requires-Dist: streamlit; extra == "solutions"
79
+ Provides-Extra: logging
80
+ Requires-Dist: comet; extra == "logging"
81
+ Requires-Dist: tensorboard>=2.13.0; extra == "logging"
82
+ Requires-Dist: dvclive>=2.12.0; extra == "logging"
76
83
  Provides-Extra: extra
77
84
  Requires-Dist: hub-sdk>=0.0.12; extra == "extra"
78
85
  Requires-Dist: ipython; extra == "extra"
79
86
  Requires-Dist: albumentations>=1.4.6; extra == "extra"
80
87
  Requires-Dist: pycocotools>=2.0.7; extra == "extra"
81
- Provides-Extra: logging
82
- Requires-Dist: comet; extra == "logging"
83
- Requires-Dist: tensorboard>=2.13.0; extra == "logging"
84
- Requires-Dist: dvclive>=2.12.0; extra == "logging"
85
- Provides-Extra: solutions
86
- Requires-Dist: shapely>=2.0.0; extra == "solutions"
87
- Requires-Dist: streamlit; extra == "solutions"
88
88
 
89
89
  <div align="center">
90
90
  <p>
@@ -7,7 +7,7 @@ tests/test_exports.py,sha256=1MvhcQ2qHdbJImHII-bFarcaIcm-kPlEK-OdFLxnj7o,8769
7
7
  tests/test_integrations.py,sha256=f5-QCUk1SU_-qn4mBCZwS3GN3tXEBIIXo4z2EhExbHw,6126
8
8
  tests/test_python.py,sha256=I1RRdCwLdrc3jX06huVxct8HX8ccQOmQgVpuEflRl0U,23560
9
9
  tests/test_solutions.py,sha256=sPYhy2d814mIVvojQeVxeZPu0IVy01_Y8zuMcu_9GF0,3790
10
- ultralytics/__init__.py,sha256=ng3e9IODWqPPX2BUjNwY_KtVXnAlZSqM7YIcJ7HcEsA,681
10
+ ultralytics/__init__.py,sha256=p3VhL7Jt1EsmTNx5u8oPqKFLzRTINa9Rr948aS_1HgM,681
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=ArJow4-pOPN3y6aKOv5KcVXimikI6vAQvQlSRb7IdWE,38743
@@ -102,7 +102,7 @@ ultralytics/data/utils.py,sha256=bmWEIrdogj4kssZQSJdSbIF8QsJU00lo-EY-Mgcqv4M,310
102
102
  ultralytics/engine/__init__.py,sha256=mHtJuK4hwF8cuV-VHDc7tp6u6D1gHz2Z7JI8grmQDTs,42
103
103
  ultralytics/engine/exporter.py,sha256=USEnyGvaTrF6JZtbMPct2LqyiaQHX_Ddt5kO1BbDmRo,67009
104
104
  ultralytics/engine/model.py,sha256=TfuTczFjNJ3GW0E_qWVH6OaJ_2I-_Srx7i_4GQebDoo,51472
105
- ultralytics/engine/predictor.py,sha256=aS4yJdTK2kYq-TTpzIlWxqnAcBz38zIECZoMb_yOPMY,17597
105
+ ultralytics/engine/predictor.py,sha256=nO6lzxG75GXyQsUNEimLk5MLfcMwl8AkRAaoYMPwQug,17687
106
106
  ultralytics/engine/results.py,sha256=a1XFZRPwqgKDBOEAibHuT9nP2xefLiWVsMoBJbcr4iA,75058
107
107
  ultralytics/engine/trainer.py,sha256=Cd95QLJ3C4fncoOX1YgauLA9aWVYRd1G6x0Au2xX86k,37335
108
108
  ultralytics/engine/tuner.py,sha256=WBj8iw1K1TK0hvanlA-wkwmfqh1SI8jEe2dGwUINeTg,11838
@@ -229,9 +229,9 @@ ultralytics/utils/callbacks/neptune.py,sha256=IbGQfEltamUKXJt93uSLQFn8c2rYh3DMTg
229
229
  ultralytics/utils/callbacks/raytune.py,sha256=Ck_yFzg7UZXiDWrLHaltjQybzVWSFDfzpdrx9ZYTRfI,700
230
230
  ultralytics/utils/callbacks/tensorboard.py,sha256=SHlE58Fb-sg-uZKtgy-ybIO3SAIfK55aj8kTYGA0Cyg,4167
231
231
  ultralytics/utils/callbacks/wb.py,sha256=sizfTa-xI9k2pnDSP_Q9pHZEFwcl__gSFM0AcneuRpY,7058
232
- ultralytics-8.3.34.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
233
- ultralytics-8.3.34.dist-info/METADATA,sha256=CZ_k4Txr1bB5iOCzlyTo-GaRuPcBcXCLSNWzsG61RlU,35213
234
- ultralytics-8.3.34.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
235
- ultralytics-8.3.34.dist-info/entry_points.txt,sha256=YM_wiKyTe9yRrsEfqvYolNO5ngwfoL4-NwgKzc8_7sI,93
236
- ultralytics-8.3.34.dist-info/top_level.txt,sha256=XP49TwiMw4QGsvTLSYiJhz1xF_k7ev5mQ8jJXaXi45Q,12
237
- ultralytics-8.3.34.dist-info/RECORD,,
232
+ ultralytics-8.3.35.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
233
+ ultralytics-8.3.35.dist-info/METADATA,sha256=bsX4oqwxlyJOT7mSgsEHyCGsxbzs_lXqBxD7Tn-Ztfw,35213
234
+ ultralytics-8.3.35.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
235
+ ultralytics-8.3.35.dist-info/entry_points.txt,sha256=YM_wiKyTe9yRrsEfqvYolNO5ngwfoL4-NwgKzc8_7sI,93
236
+ ultralytics-8.3.35.dist-info/top_level.txt,sha256=XP49TwiMw4QGsvTLSYiJhz1xF_k7ev5mQ8jJXaXi45Q,12
237
+ ultralytics-8.3.35.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5