bplusplus 1.1.0__py3-none-any.whl → 1.2.0__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 bplusplus might be problematic. Click here for more details.
- bplusplus/__init__.py +4 -2
- bplusplus/collect.py +69 -5
- bplusplus/hierarchical/test.py +670 -0
- bplusplus/hierarchical/train.py +676 -0
- bplusplus/prepare.py +228 -64
- bplusplus/resnet/test.py +473 -0
- bplusplus/resnet/train.py +329 -0
- bplusplus-1.2.0.dist-info/METADATA +249 -0
- bplusplus-1.2.0.dist-info/RECORD +12 -0
- bplusplus/yolov5detect/__init__.py +0 -1
- bplusplus/yolov5detect/detect.py +0 -444
- bplusplus/yolov5detect/export.py +0 -1530
- bplusplus/yolov5detect/insect.yaml +0 -8
- bplusplus/yolov5detect/models/__init__.py +0 -0
- bplusplus/yolov5detect/models/common.py +0 -1109
- bplusplus/yolov5detect/models/experimental.py +0 -130
- bplusplus/yolov5detect/models/hub/anchors.yaml +0 -56
- bplusplus/yolov5detect/models/hub/yolov3-spp.yaml +0 -52
- bplusplus/yolov5detect/models/hub/yolov3-tiny.yaml +0 -42
- bplusplus/yolov5detect/models/hub/yolov3.yaml +0 -52
- bplusplus/yolov5detect/models/hub/yolov5-bifpn.yaml +0 -49
- bplusplus/yolov5detect/models/hub/yolov5-fpn.yaml +0 -43
- bplusplus/yolov5detect/models/hub/yolov5-p2.yaml +0 -55
- bplusplus/yolov5detect/models/hub/yolov5-p34.yaml +0 -42
- bplusplus/yolov5detect/models/hub/yolov5-p6.yaml +0 -57
- bplusplus/yolov5detect/models/hub/yolov5-p7.yaml +0 -68
- bplusplus/yolov5detect/models/hub/yolov5-panet.yaml +0 -49
- bplusplus/yolov5detect/models/hub/yolov5l6.yaml +0 -61
- bplusplus/yolov5detect/models/hub/yolov5m6.yaml +0 -61
- bplusplus/yolov5detect/models/hub/yolov5n6.yaml +0 -61
- bplusplus/yolov5detect/models/hub/yolov5s-LeakyReLU.yaml +0 -50
- bplusplus/yolov5detect/models/hub/yolov5s-ghost.yaml +0 -49
- bplusplus/yolov5detect/models/hub/yolov5s-transformer.yaml +0 -49
- bplusplus/yolov5detect/models/hub/yolov5s6.yaml +0 -61
- bplusplus/yolov5detect/models/hub/yolov5x6.yaml +0 -61
- bplusplus/yolov5detect/models/segment/yolov5l-seg.yaml +0 -49
- bplusplus/yolov5detect/models/segment/yolov5m-seg.yaml +0 -49
- bplusplus/yolov5detect/models/segment/yolov5n-seg.yaml +0 -49
- bplusplus/yolov5detect/models/segment/yolov5s-seg.yaml +0 -49
- bplusplus/yolov5detect/models/segment/yolov5x-seg.yaml +0 -49
- bplusplus/yolov5detect/models/tf.py +0 -797
- bplusplus/yolov5detect/models/yolo.py +0 -495
- bplusplus/yolov5detect/models/yolov5l.yaml +0 -49
- bplusplus/yolov5detect/models/yolov5m.yaml +0 -49
- bplusplus/yolov5detect/models/yolov5n.yaml +0 -49
- bplusplus/yolov5detect/models/yolov5s.yaml +0 -49
- bplusplus/yolov5detect/models/yolov5x.yaml +0 -49
- bplusplus/yolov5detect/utils/__init__.py +0 -97
- bplusplus/yolov5detect/utils/activations.py +0 -134
- bplusplus/yolov5detect/utils/augmentations.py +0 -448
- bplusplus/yolov5detect/utils/autoanchor.py +0 -175
- bplusplus/yolov5detect/utils/autobatch.py +0 -70
- bplusplus/yolov5detect/utils/aws/__init__.py +0 -0
- bplusplus/yolov5detect/utils/aws/mime.sh +0 -26
- bplusplus/yolov5detect/utils/aws/resume.py +0 -41
- bplusplus/yolov5detect/utils/aws/userdata.sh +0 -27
- bplusplus/yolov5detect/utils/callbacks.py +0 -72
- bplusplus/yolov5detect/utils/dataloaders.py +0 -1385
- bplusplus/yolov5detect/utils/docker/Dockerfile +0 -73
- bplusplus/yolov5detect/utils/docker/Dockerfile-arm64 +0 -40
- bplusplus/yolov5detect/utils/docker/Dockerfile-cpu +0 -42
- bplusplus/yolov5detect/utils/downloads.py +0 -136
- bplusplus/yolov5detect/utils/flask_rest_api/README.md +0 -70
- bplusplus/yolov5detect/utils/flask_rest_api/example_request.py +0 -17
- bplusplus/yolov5detect/utils/flask_rest_api/restapi.py +0 -49
- bplusplus/yolov5detect/utils/general.py +0 -1294
- bplusplus/yolov5detect/utils/google_app_engine/Dockerfile +0 -25
- bplusplus/yolov5detect/utils/google_app_engine/additional_requirements.txt +0 -6
- bplusplus/yolov5detect/utils/google_app_engine/app.yaml +0 -16
- bplusplus/yolov5detect/utils/loggers/__init__.py +0 -476
- bplusplus/yolov5detect/utils/loggers/clearml/README.md +0 -222
- bplusplus/yolov5detect/utils/loggers/clearml/__init__.py +0 -0
- bplusplus/yolov5detect/utils/loggers/clearml/clearml_utils.py +0 -230
- bplusplus/yolov5detect/utils/loggers/clearml/hpo.py +0 -90
- bplusplus/yolov5detect/utils/loggers/comet/README.md +0 -250
- bplusplus/yolov5detect/utils/loggers/comet/__init__.py +0 -551
- bplusplus/yolov5detect/utils/loggers/comet/comet_utils.py +0 -151
- bplusplus/yolov5detect/utils/loggers/comet/hpo.py +0 -126
- bplusplus/yolov5detect/utils/loggers/comet/optimizer_config.json +0 -135
- bplusplus/yolov5detect/utils/loggers/wandb/__init__.py +0 -0
- bplusplus/yolov5detect/utils/loggers/wandb/wandb_utils.py +0 -210
- bplusplus/yolov5detect/utils/loss.py +0 -259
- bplusplus/yolov5detect/utils/metrics.py +0 -381
- bplusplus/yolov5detect/utils/plots.py +0 -517
- bplusplus/yolov5detect/utils/segment/__init__.py +0 -0
- bplusplus/yolov5detect/utils/segment/augmentations.py +0 -100
- bplusplus/yolov5detect/utils/segment/dataloaders.py +0 -366
- bplusplus/yolov5detect/utils/segment/general.py +0 -160
- bplusplus/yolov5detect/utils/segment/loss.py +0 -198
- bplusplus/yolov5detect/utils/segment/metrics.py +0 -225
- bplusplus/yolov5detect/utils/segment/plots.py +0 -152
- bplusplus/yolov5detect/utils/torch_utils.py +0 -482
- bplusplus/yolov5detect/utils/triton.py +0 -90
- bplusplus-1.1.0.dist-info/METADATA +0 -179
- bplusplus-1.1.0.dist-info/RECORD +0 -92
- {bplusplus-1.1.0.dist-info → bplusplus-1.2.0.dist-info}/LICENSE +0 -0
- {bplusplus-1.1.0.dist-info → bplusplus-1.2.0.dist-info}/WHEEL +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Ultralytics YOLOv5 🚀, AGPL-3.0 license
|
|
2
|
-
|
|
3
|
-
# Parameters
|
|
4
|
-
nc: 80 # number of classes
|
|
5
|
-
depth_multiple: 0.33 # model depth multiple
|
|
6
|
-
width_multiple: 0.5 # layer channel multiple
|
|
7
|
-
anchors:
|
|
8
|
-
- [10, 13, 16, 30, 33, 23] # P3/8
|
|
9
|
-
- [30, 61, 62, 45, 59, 119] # P4/16
|
|
10
|
-
- [116, 90, 156, 198, 373, 326] # P5/32
|
|
11
|
-
|
|
12
|
-
# YOLOv5 v6.0 backbone
|
|
13
|
-
backbone:
|
|
14
|
-
# [from, number, module, args]
|
|
15
|
-
[
|
|
16
|
-
[-1, 1, Conv, [64, 6, 2, 2]], # 0-P1/2
|
|
17
|
-
[-1, 1, Conv, [128, 3, 2]], # 1-P2/4
|
|
18
|
-
[-1, 3, C3, [128]],
|
|
19
|
-
[-1, 1, Conv, [256, 3, 2]], # 3-P3/8
|
|
20
|
-
[-1, 6, C3, [256]],
|
|
21
|
-
[-1, 1, Conv, [512, 3, 2]], # 5-P4/16
|
|
22
|
-
[-1, 9, C3, [512]],
|
|
23
|
-
[-1, 1, Conv, [1024, 3, 2]], # 7-P5/32
|
|
24
|
-
[-1, 3, C3, [1024]],
|
|
25
|
-
[-1, 1, SPPF, [1024, 5]], # 9
|
|
26
|
-
]
|
|
27
|
-
|
|
28
|
-
# YOLOv5 v6.0 head
|
|
29
|
-
head: [
|
|
30
|
-
[-1, 1, Conv, [512, 1, 1]],
|
|
31
|
-
[-1, 1, nn.Upsample, [None, 2, "nearest"]],
|
|
32
|
-
[[-1, 6], 1, Concat, [1]], # cat backbone P4
|
|
33
|
-
[-1, 3, C3, [512, False]], # 13
|
|
34
|
-
|
|
35
|
-
[-1, 1, Conv, [256, 1, 1]],
|
|
36
|
-
[-1, 1, nn.Upsample, [None, 2, "nearest"]],
|
|
37
|
-
[[-1, 4], 1, Concat, [1]], # cat backbone P3
|
|
38
|
-
[-1, 3, C3, [256, False]], # 17 (P3/8-small)
|
|
39
|
-
|
|
40
|
-
[-1, 1, Conv, [256, 3, 2]],
|
|
41
|
-
[[-1, 14], 1, Concat, [1]], # cat head P4
|
|
42
|
-
[-1, 3, C3, [512, False]], # 20 (P4/16-medium)
|
|
43
|
-
|
|
44
|
-
[-1, 1, Conv, [512, 3, 2]],
|
|
45
|
-
[[-1, 10], 1, Concat, [1]], # cat head P5
|
|
46
|
-
[-1, 3, C3, [1024, False]], # 23 (P5/32-large)
|
|
47
|
-
|
|
48
|
-
[[17, 20, 23], 1, Segment, [nc, anchors, 32, 256]], # Detect(P3, P4, P5)
|
|
49
|
-
]
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Ultralytics YOLOv5 🚀, AGPL-3.0 license
|
|
2
|
-
|
|
3
|
-
# Parameters
|
|
4
|
-
nc: 80 # number of classes
|
|
5
|
-
depth_multiple: 1.33 # model depth multiple
|
|
6
|
-
width_multiple: 1.25 # layer channel multiple
|
|
7
|
-
anchors:
|
|
8
|
-
- [10, 13, 16, 30, 33, 23] # P3/8
|
|
9
|
-
- [30, 61, 62, 45, 59, 119] # P4/16
|
|
10
|
-
- [116, 90, 156, 198, 373, 326] # P5/32
|
|
11
|
-
|
|
12
|
-
# YOLOv5 v6.0 backbone
|
|
13
|
-
backbone:
|
|
14
|
-
# [from, number, module, args]
|
|
15
|
-
[
|
|
16
|
-
[-1, 1, Conv, [64, 6, 2, 2]], # 0-P1/2
|
|
17
|
-
[-1, 1, Conv, [128, 3, 2]], # 1-P2/4
|
|
18
|
-
[-1, 3, C3, [128]],
|
|
19
|
-
[-1, 1, Conv, [256, 3, 2]], # 3-P3/8
|
|
20
|
-
[-1, 6, C3, [256]],
|
|
21
|
-
[-1, 1, Conv, [512, 3, 2]], # 5-P4/16
|
|
22
|
-
[-1, 9, C3, [512]],
|
|
23
|
-
[-1, 1, Conv, [1024, 3, 2]], # 7-P5/32
|
|
24
|
-
[-1, 3, C3, [1024]],
|
|
25
|
-
[-1, 1, SPPF, [1024, 5]], # 9
|
|
26
|
-
]
|
|
27
|
-
|
|
28
|
-
# YOLOv5 v6.0 head
|
|
29
|
-
head: [
|
|
30
|
-
[-1, 1, Conv, [512, 1, 1]],
|
|
31
|
-
[-1, 1, nn.Upsample, [None, 2, "nearest"]],
|
|
32
|
-
[[-1, 6], 1, Concat, [1]], # cat backbone P4
|
|
33
|
-
[-1, 3, C3, [512, False]], # 13
|
|
34
|
-
|
|
35
|
-
[-1, 1, Conv, [256, 1, 1]],
|
|
36
|
-
[-1, 1, nn.Upsample, [None, 2, "nearest"]],
|
|
37
|
-
[[-1, 4], 1, Concat, [1]], # cat backbone P3
|
|
38
|
-
[-1, 3, C3, [256, False]], # 17 (P3/8-small)
|
|
39
|
-
|
|
40
|
-
[-1, 1, Conv, [256, 3, 2]],
|
|
41
|
-
[[-1, 14], 1, Concat, [1]], # cat head P4
|
|
42
|
-
[-1, 3, C3, [512, False]], # 20 (P4/16-medium)
|
|
43
|
-
|
|
44
|
-
[-1, 1, Conv, [512, 3, 2]],
|
|
45
|
-
[[-1, 10], 1, Concat, [1]], # cat head P5
|
|
46
|
-
[-1, 3, C3, [1024, False]], # 23 (P5/32-large)
|
|
47
|
-
|
|
48
|
-
[[17, 20, 23], 1, Segment, [nc, anchors, 32, 256]], # Detect(P3, P4, P5)
|
|
49
|
-
]
|