ultralytics 8.3.163__py3-none-any.whl → 8.3.165__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 +1 -1
- ultralytics/cfg/datasets/HomeObjects-3K.yaml +2 -3
- ultralytics/cfg/datasets/african-wildlife.yaml +3 -3
- ultralytics/cfg/datasets/brain-tumor.yaml +3 -4
- ultralytics/cfg/datasets/carparts-seg.yaml +4 -4
- ultralytics/cfg/datasets/crack-seg.yaml +4 -4
- ultralytics/cfg/datasets/dog-pose.yaml +2 -2
- ultralytics/cfg/datasets/hand-keypoints.yaml +2 -2
- ultralytics/cfg/datasets/medical-pills.yaml +2 -3
- ultralytics/cfg/datasets/package-seg.yaml +4 -4
- ultralytics/cfg/datasets/signature.yaml +3 -3
- ultralytics/cfg/datasets/tiger-pose.yaml +3 -3
- ultralytics/data/augment.py +182 -153
- ultralytics/data/build.py +23 -3
- ultralytics/data/dataset.py +6 -2
- ultralytics/data/loaders.py +2 -2
- ultralytics/data/utils.py +9 -7
- ultralytics/engine/exporter.py +7 -3
- ultralytics/engine/results.py +42 -42
- ultralytics/models/fastsam/model.py +1 -1
- ultralytics/models/fastsam/predict.py +1 -1
- ultralytics/models/sam/model.py +4 -4
- ultralytics/models/sam/modules/blocks.py +5 -5
- ultralytics/models/sam/modules/memory_attention.py +19 -19
- ultralytics/models/sam/modules/transformer.py +24 -22
- ultralytics/models/yolo/detect/val.py +2 -2
- ultralytics/models/yolo/world/train_world.py +9 -1
- ultralytics/solutions/distance_calculation.py +1 -1
- ultralytics/solutions/instance_segmentation.py +2 -2
- ultralytics/solutions/object_blurrer.py +2 -2
- ultralytics/solutions/object_counter.py +2 -2
- ultralytics/solutions/object_cropper.py +1 -1
- ultralytics/solutions/queue_management.py +1 -1
- ultralytics/solutions/security_alarm.py +2 -2
- ultralytics/solutions/templates/similarity-search.html +0 -24
- ultralytics/solutions/vision_eye.py +1 -1
- ultralytics/utils/benchmarks.py +2 -2
- ultralytics/utils/export.py +0 -2
- ultralytics/utils/instance.py +32 -25
- ultralytics/utils/ops.py +8 -8
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/METADATA +1 -1
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/RECORD +46 -46
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/WHEEL +0 -0
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/entry_points.txt +0 -0
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/licenses/LICENSE +0 -0
- {ultralytics-8.3.163.dist-info → ultralytics-8.3.165.dist-info}/top_level.txt +0 -0
ultralytics/__init__.py
CHANGED
@@ -10,9 +10,8 @@
|
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: homeobjects-3K # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: # test images (relative to 'path')
|
13
|
+
train: images/train # train images (relative to 'path') 2285 images
|
14
|
+
val: images/val # val images (relative to 'path') 404 images
|
16
15
|
|
17
16
|
# Classes
|
18
17
|
names:
|
@@ -10,9 +10,9 @@
|
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: african-wildlife # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: test
|
13
|
+
train: images/train # train images (relative to 'path') 1052 images
|
14
|
+
val: images/val # val images (relative to 'path') 225 images
|
15
|
+
test: images/test # test images (relative to 'path') 227 images
|
16
16
|
|
17
17
|
# Classes
|
18
18
|
names:
|
@@ -6,13 +6,12 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── brain-tumor ← downloads here (4.
|
9
|
+
# └── brain-tumor ← downloads here (4.21 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: brain-tumor # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: # test images (relative to 'path')
|
13
|
+
train: images/train # train images (relative to 'path') 893 images
|
14
|
+
val: images/val # val images (relative to 'path') 223 images
|
16
15
|
|
17
16
|
# Classes
|
18
17
|
names:
|
@@ -6,13 +6,13 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── carparts-seg ← downloads here (
|
9
|
+
# └── carparts-seg ← downloads here (133 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: carparts-seg # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: test
|
13
|
+
train: images/train # train images (relative to 'path') 3516 images
|
14
|
+
val: images/val # val images (relative to 'path') 276 images
|
15
|
+
test: images/test # test images (relative to 'path') 401 images
|
16
16
|
|
17
17
|
# Classes
|
18
18
|
names:
|
@@ -6,13 +6,13 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── crack-seg ← downloads here (91.
|
9
|
+
# └── crack-seg ← downloads here (91.6 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: crack-seg # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: test
|
13
|
+
train: images/train # train images (relative to 'path') 3717 images
|
14
|
+
val: images/val # val images (relative to 'path') 112 images
|
15
|
+
test: images/test # test images (relative to 'path') 200 images
|
16
16
|
|
17
17
|
# Classes
|
18
18
|
names:
|
@@ -10,8 +10,8 @@
|
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: dog-pose # dataset root dir
|
13
|
-
train: train # train images (relative to 'path') 6773 images
|
14
|
-
val: val # val images (relative to 'path') 1703 images
|
13
|
+
train: images/train # train images (relative to 'path') 6773 images
|
14
|
+
val: images/val # val images (relative to 'path') 1703 images
|
15
15
|
|
16
16
|
# Keypoints
|
17
17
|
kpt_shape: [24, 3] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible)
|
@@ -10,8 +10,8 @@
|
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: hand-keypoints # dataset root dir
|
13
|
-
train: train # train images (relative to 'path') 18776 images
|
14
|
-
val: val # val images (relative to 'path') 7992 images
|
13
|
+
train: images/train # train images (relative to 'path') 18776 images
|
14
|
+
val: images/val # val images (relative to 'path') 7992 images
|
15
15
|
|
16
16
|
# Keypoints
|
17
17
|
kpt_shape: [21, 3] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible)
|
@@ -10,9 +10,8 @@
|
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: medical-pills # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: # test images (relative to 'path')
|
13
|
+
train: images/train # train images (relative to 'path') 92 images
|
14
|
+
val: images/val # val images (relative to 'path') 23 images
|
16
15
|
|
17
16
|
# Classes
|
18
17
|
names:
|
@@ -6,13 +6,13 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── package-seg ← downloads here (
|
9
|
+
# └── package-seg ← downloads here (103 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: package-seg # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
15
|
-
test: test
|
13
|
+
train: images/train # train images (relative to 'path') 1920 images
|
14
|
+
val: images/val # val images (relative to 'path') 89 images
|
15
|
+
test: images/test # test images (relative to 'path') 188 images
|
16
16
|
|
17
17
|
# Classes
|
18
18
|
names:
|
@@ -6,12 +6,12 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── signature ← downloads here (11.
|
9
|
+
# └── signature ← downloads here (11.3 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: signature # dataset root dir
|
13
|
-
train: train
|
14
|
-
val:
|
13
|
+
train: images/train # train images (relative to 'path') 143 images
|
14
|
+
val: images/val # val images (relative to 'path') 35 images
|
15
15
|
|
16
16
|
# Classes
|
17
17
|
names:
|
@@ -6,12 +6,12 @@
|
|
6
6
|
# parent
|
7
7
|
# ├── ultralytics
|
8
8
|
# └── datasets
|
9
|
-
# └── tiger-pose ← downloads here (
|
9
|
+
# └── tiger-pose ← downloads here (22.8 MB)
|
10
10
|
|
11
11
|
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
12
12
|
path: tiger-pose # dataset root dir
|
13
|
-
train: train # train images (relative to 'path') 210 images
|
14
|
-
val: val # val images (relative to 'path') 53 images
|
13
|
+
train: images/train # train images (relative to 'path') 210 images
|
14
|
+
val: images/val # val images (relative to 'path') 53 images
|
15
15
|
|
16
16
|
# Keypoints
|
17
17
|
kpt_shape: [12, 2] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible)
|