Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangkx1
siton-paddleyolo
Commits
522a602f
Commit
522a602f
authored
Jul 22, 2024
by
wangkx1
Browse files
siton bug
parent
abb99c90
Changes
468
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1164 additions
and
0 deletions
+1164
-0
configs/ppvehicle/vehicle_yolov3/demo/003.png
configs/ppvehicle/vehicle_yolov3/demo/003.png
+0
-0
configs/ppvehicle/vehicle_yolov3/demo/004.png
configs/ppvehicle/vehicle_yolov3/demo/004.png
+0
-0
configs/ppvehicle/vehicle_yolov3/demo/005.png
configs/ppvehicle/vehicle_yolov3/demo/005.png
+0
-0
configs/ppvehicle/vehicle_yolov3/vehicle_yolov3_darknet.yml
configs/ppvehicle/vehicle_yolov3/vehicle_yolov3_darknet.yml
+42
-0
configs/ppyolo/README.md
configs/ppyolo/README.md
+240
-0
configs/ppyolo/README_cn.md
configs/ppyolo/README_cn.md
+233
-0
configs/ppyolo/_base_/optimizer_1x.yml
configs/ppyolo/_base_/optimizer_1x.yml
+22
-0
configs/ppyolo/_base_/optimizer_2x.yml
configs/ppyolo/_base_/optimizer_2x.yml
+22
-0
configs/ppyolo/_base_/optimizer_365e.yml
configs/ppyolo/_base_/optimizer_365e.yml
+21
-0
configs/ppyolo/_base_/optimizer_650e.yml
configs/ppyolo/_base_/optimizer_650e.yml
+22
-0
configs/ppyolo/_base_/ppyolo_mbv3_large.yml
configs/ppyolo/_base_/ppyolo_mbv3_large.yml
+56
-0
configs/ppyolo/_base_/ppyolo_mbv3_small.yml
configs/ppyolo/_base_/ppyolo_mbv3_small.yml
+56
-0
configs/ppyolo/_base_/ppyolo_r18vd.yml
configs/ppyolo/_base_/ppyolo_r18vd.yml
+57
-0
configs/ppyolo/_base_/ppyolo_r50vd_dcn.yml
configs/ppyolo/_base_/ppyolo_r50vd_dcn.yml
+66
-0
configs/ppyolo/_base_/ppyolo_reader.yml
configs/ppyolo/_base_/ppyolo_reader.yml
+42
-0
configs/ppyolo/_base_/ppyolo_tiny.yml
configs/ppyolo/_base_/ppyolo_tiny.yml
+55
-0
configs/ppyolo/_base_/ppyolo_tiny_reader.yml
configs/ppyolo/_base_/ppyolo_tiny_reader.yml
+42
-0
configs/ppyolo/_base_/ppyolov2_r50vd_dcn.yml
configs/ppyolo/_base_/ppyolov2_r50vd_dcn.yml
+65
-0
configs/ppyolo/_base_/ppyolov2_reader.yml
configs/ppyolo/_base_/ppyolov2_reader.yml
+42
-0
configs/ppyolo/ppyolo_mbv3_large_coco.yml
configs/ppyolo/ppyolo_mbv3_large_coco.yml
+81
-0
No files found.
configs/ppvehicle/vehicle_yolov3/demo/003.png
0 → 100644
View file @
522a602f
794 KB
configs/ppvehicle/vehicle_yolov3/demo/004.png
0 → 100644
View file @
522a602f
885 KB
configs/ppvehicle/vehicle_yolov3/demo/005.png
0 → 100644
View file @
522a602f
835 KB
configs/ppvehicle/vehicle_yolov3/vehicle_yolov3_darknet.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../../datasets/coco_detection.yml'
,
'
../../runtime.yml'
,
'
../../yolov3/_base_/optimizer_270e.yml'
,
'
../../yolov3/_base_/yolov3_darknet53.yml'
,
'
../../yolov3/_base_/yolov3_reader.yml'
,
]
snapshot_epoch
:
5
weights
:
https://paddledet.bj.bcebos.com/models/vehicle_yolov3_darknet.pdparams
YOLOv3Head
:
anchors
:
[[
8
,
9
],
[
10
,
23
],
[
19
,
15
],
[
23
,
33
],
[
40
,
25
],
[
54
,
50
],
[
101
,
80
],
[
139
,
145
],
[
253
,
224
]]
BBoxPostProcess
:
nms
:
name
:
MultiClassNMS
keep_top_k
:
100
score_threshold
:
0.005
nms_threshold
:
0.45
nms_top_k
:
400
num_classes
:
6
TrainDataset
:
!COCODataSet
dataset_dir
:
dataset/vehicle
anno_path
:
annotations/instances_train2017.json
image_dir
:
train2017
data_fields
:
[
'
image'
,
'
gt_bbox'
,
'
gt_class'
,
'
is_crowd'
]
EvalDataset
:
!COCODataSet
dataset_dir
:
dataset/vehicle
anno_path
:
annotations/instances_val2017.json
image_dir
:
val2017
TestDataset
:
!ImageFolder
anno_path
:
configs/ppvehicle/vehicle_yolov3/vehicle.json
configs/ppyolo/README.md
0 → 100644
View file @
522a602f
This diff is collapsed.
Click to expand it.
configs/ppyolo/README_cn.md
0 → 100644
View file @
522a602f
This diff is collapsed.
Click to expand it.
configs/ppyolo/_base_/optimizer_1x.yml
0 → 100644
View file @
522a602f
epoch
:
405
LearningRate
:
base_lr
:
0.01
schedulers
:
-
!PiecewiseDecay
gamma
:
0.1
milestones
:
-
243
-
324
-
!LinearWarmup
start_factor
:
0.
steps
:
4000
OptimizerBuilder
:
clip_grad_by_norm
:
35.
optimizer
:
momentum
:
0.9
type
:
Momentum
regularizer
:
factor
:
0.0005
type
:
L2
configs/ppyolo/_base_/optimizer_2x.yml
0 → 100644
View file @
522a602f
epoch
:
811
LearningRate
:
base_lr
:
0.01
schedulers
:
-
!PiecewiseDecay
gamma
:
0.1
milestones
:
-
649
-
730
-
!LinearWarmup
start_factor
:
0.
steps
:
4000
OptimizerBuilder
:
clip_grad_by_norm
:
35.
optimizer
:
momentum
:
0.9
type
:
Momentum
regularizer
:
factor
:
0.0005
type
:
L2
configs/ppyolo/_base_/optimizer_365e.yml
0 → 100644
View file @
522a602f
epoch
:
365
LearningRate
:
base_lr
:
0.005
schedulers
:
-
!PiecewiseDecay
gamma
:
0.1
milestones
:
-
243
-
!LinearWarmup
start_factor
:
0.
steps
:
4000
OptimizerBuilder
:
clip_grad_by_norm
:
35.
optimizer
:
momentum
:
0.9
type
:
Momentum
regularizer
:
factor
:
0.0005
type
:
L2
configs/ppyolo/_base_/optimizer_650e.yml
0 → 100644
View file @
522a602f
epoch
:
650
LearningRate
:
base_lr
:
0.005
schedulers
:
-
!PiecewiseDecay
gamma
:
0.1
milestones
:
-
430
-
540
-
610
-
!LinearWarmup
start_factor
:
0.
steps
:
4000
OptimizerBuilder
:
optimizer
:
momentum
:
0.9
type
:
Momentum
regularizer
:
factor
:
0.0005
type
:
L2
configs/ppyolo/_base_/ppyolo_mbv3_large.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/MobileNetV3_large_x1_0_ssld_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
MobileNetV3
neck
:
PPYOLOFPN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
MobileNetV3
:
model_name
:
large
scale
:
1.
with_extra_blocks
:
false
extra_block_filters
:
[]
feature_maps
:
[
13
,
16
]
PPYOLOFPN
:
in_channels
:
[
160
,
368
]
coord_conv
:
true
conv_block_num
:
0
spp
:
true
drop_block
:
true
YOLOv3Head
:
anchors
:
[[
11
,
18
],
[
34
,
47
],
[
51
,
126
],
[
115
,
71
],
[
120
,
195
],
[
254
,
235
]]
anchor_masks
:
[[
3
,
4
,
5
],
[
0
,
1
,
2
]]
loss
:
YOLOv3Loss
YOLOv3Loss
:
ignore_thresh
:
0.5
downsample
:
[
32
,
16
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.005
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MultiClassNMS
keep_top_k
:
100
nms_threshold
:
0.45
nms_top_k
:
1000
score_threshold
:
0.005
configs/ppyolo/_base_/ppyolo_mbv3_small.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/MobileNetV3_small_x1_0_ssld_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
MobileNetV3
neck
:
PPYOLOFPN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
MobileNetV3
:
model_name
:
small
scale
:
1.
with_extra_blocks
:
false
extra_block_filters
:
[]
feature_maps
:
[
9
,
12
]
PPYOLOFPN
:
in_channels
:
[
96
,
304
]
coord_conv
:
true
conv_block_num
:
0
spp
:
true
drop_block
:
true
YOLOv3Head
:
anchors
:
[[
11
,
18
],
[
34
,
47
],
[
51
,
126
],
[
115
,
71
],
[
120
,
195
],
[
254
,
235
]]
anchor_masks
:
[[
3
,
4
,
5
],
[
0
,
1
,
2
]]
loss
:
YOLOv3Loss
YOLOv3Loss
:
ignore_thresh
:
0.5
downsample
:
[
32
,
16
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.005
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MultiClassNMS
keep_top_k
:
100
nms_threshold
:
0.45
nms_top_k
:
1000
score_threshold
:
0.005
configs/ppyolo/_base_/ppyolo_r18vd.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/ResNet18_vd_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
ResNet
neck
:
PPYOLOFPN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
ResNet
:
depth
:
18
variant
:
d
return_idx
:
[
2
,
3
]
freeze_at
:
-1
freeze_norm
:
false
norm_decay
:
0.
PPYOLOFPN
:
drop_block
:
true
block_size
:
3
keep_prob
:
0.9
conv_block_num
:
0
YOLOv3Head
:
anchor_masks
:
[[
3
,
4
,
5
],
[
0
,
1
,
2
]]
anchors
:
[[
10
,
14
],
[
23
,
27
],
[
37
,
58
],
[
81
,
82
],
[
135
,
169
],
[
344
,
319
]]
loss
:
YOLOv3Loss
YOLOv3Loss
:
ignore_thresh
:
0.7
downsample
:
[
32
,
16
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.01
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MatrixNMS
keep_top_k
:
100
score_threshold
:
0.01
post_threshold
:
0.01
nms_top_k
:
-1
background_label
:
-1
configs/ppyolo/_base_/ppyolo_r50vd_dcn.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vd_ssld_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
ResNet
neck
:
PPYOLOFPN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
ResNet
:
depth
:
50
variant
:
d
return_idx
:
[
1
,
2
,
3
]
dcn_v2_stages
:
[
3
]
freeze_at
:
-1
freeze_norm
:
false
norm_decay
:
0.
PPYOLOFPN
:
coord_conv
:
true
drop_block
:
true
block_size
:
3
keep_prob
:
0.9
spp
:
true
YOLOv3Head
:
anchors
:
[[
10
,
13
],
[
16
,
30
],
[
33
,
23
],
[
30
,
61
],
[
62
,
45
],
[
59
,
119
],
[
116
,
90
],
[
156
,
198
],
[
373
,
326
]]
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]]
loss
:
YOLOv3Loss
iou_aware
:
true
iou_aware_factor
:
0.4
YOLOv3Loss
:
ignore_thresh
:
0.7
downsample
:
[
32
,
16
,
8
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
iou_aware_loss
:
IouAwareLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
IouAwareLoss
:
loss_weight
:
1.0
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.01
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MatrixNMS
keep_top_k
:
100
score_threshold
:
0.01
post_threshold
:
0.01
nms_top_k
:
-1
background_label
:
-1
configs/ppyolo/_base_/ppyolo_reader.yml
0 → 100644
View file @
522a602f
worker_num
:
2
TrainReader
:
inputs_def
:
num_max_boxes
:
50
sample_transforms
:
-
Decode
:
{}
-
Mixup
:
{
alpha
:
1.5
,
beta
:
1.5
}
-
RandomDistort
:
{}
-
RandomExpand
:
{
fill_value
:
[
123.675
,
116.28
,
103.53
]}
-
RandomCrop
:
{}
-
RandomFlip
:
{}
batch_transforms
:
-
BatchRandomResize
:
{
target_size
:
[
320
,
352
,
384
,
416
,
448
,
480
,
512
,
544
,
576
,
608
],
random_size
:
True
,
random_interp
:
True
,
keep_ratio
:
False
}
-
NormalizeBox
:
{}
-
PadBox
:
{
num_max_boxes
:
50
}
-
BboxXYXY2XYWH
:
{}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
-
Gt2YoloTarget
:
{
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]],
anchors
:
[[
10
,
13
],
[
16
,
30
],
[
33
,
23
],
[
30
,
61
],
[
62
,
45
],
[
59
,
119
],
[
116
,
90
],
[
156
,
198
],
[
373
,
326
]],
downsample_ratios
:
[
32
,
16
,
8
]}
batch_size
:
24
shuffle
:
true
drop_last
:
true
mixup_epoch
:
25000
use_shared_memory
:
true
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
608
,
608
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
608
,
608
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
608
,
608
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
1
configs/ppyolo/_base_/ppyolo_tiny.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/MobileNetV3_large_x0_5_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
MobileNetV3
neck
:
PPYOLOTinyFPN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
MobileNetV3
:
model_name
:
large
scale
:
.5
with_extra_blocks
:
false
extra_block_filters
:
[]
feature_maps
:
[
7
,
13
,
16
]
PPYOLOTinyFPN
:
detection_block_channels
:
[
160
,
128
,
96
]
spp
:
true
drop_block
:
true
YOLOv3Head
:
anchors
:
[[
10
,
15
],
[
24
,
36
],
[
72
,
42
],
[
35
,
87
],
[
102
,
96
],
[
60
,
170
],
[
220
,
125
],
[
128
,
222
],
[
264
,
266
]]
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]]
loss
:
YOLOv3Loss
YOLOv3Loss
:
ignore_thresh
:
0.5
downsample
:
[
32
,
16
,
8
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.005
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MultiClassNMS
keep_top_k
:
100
nms_threshold
:
0.45
nms_top_k
:
1000
score_threshold
:
0.005
configs/ppyolo/_base_/ppyolo_tiny_reader.yml
0 → 100644
View file @
522a602f
worker_num
:
4
TrainReader
:
inputs_def
:
num_max_boxes
:
100
sample_transforms
:
-
Decode
:
{}
-
Mixup
:
{
alpha
:
1.5
,
beta
:
1.5
}
-
RandomDistort
:
{}
-
RandomExpand
:
{
fill_value
:
[
123.675
,
116.28
,
103.53
]}
-
RandomCrop
:
{}
-
RandomFlip
:
{}
batch_transforms
:
-
BatchRandomResize
:
{
target_size
:
[
192
,
224
,
256
,
288
,
320
,
352
,
384
,
416
,
448
,
480
,
512
],
random_size
:
True
,
random_interp
:
True
,
keep_ratio
:
False
}
-
NormalizeBox
:
{}
-
PadBox
:
{
num_max_boxes
:
100
}
-
BboxXYXY2XYWH
:
{}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
-
Gt2YoloTarget
:
{
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]],
anchors
:
[[
10
,
15
],
[
24
,
36
],
[
72
,
42
],
[
35
,
87
],
[
102
,
96
],
[
60
,
170
],
[
220
,
125
],
[
128
,
222
],
[
264
,
266
]],
downsample_ratios
:
[
32
,
16
,
8
]}
batch_size
:
32
shuffle
:
true
drop_last
:
true
mixup_epoch
:
500
use_shared_memory
:
true
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
320
,
320
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
320
,
320
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
320
,
320
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
1
configs/ppyolo/_base_/ppyolov2_r50vd_dcn.yml
0 → 100644
View file @
522a602f
architecture
:
YOLOv3
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vd_ssld_pretrained.pdparams
norm_type
:
sync_bn
use_ema
:
true
ema_decay
:
0.9998
YOLOv3
:
backbone
:
ResNet
neck
:
PPYOLOPAN
yolo_head
:
YOLOv3Head
post_process
:
BBoxPostProcess
ResNet
:
depth
:
50
variant
:
d
return_idx
:
[
1
,
2
,
3
]
dcn_v2_stages
:
[
3
]
freeze_at
:
-1
freeze_norm
:
false
norm_decay
:
0.
PPYOLOPAN
:
drop_block
:
true
block_size
:
3
keep_prob
:
0.9
spp
:
true
YOLOv3Head
:
anchors
:
[[
10
,
13
],
[
16
,
30
],
[
33
,
23
],
[
30
,
61
],
[
62
,
45
],
[
59
,
119
],
[
116
,
90
],
[
156
,
198
],
[
373
,
326
]]
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]]
loss
:
YOLOv3Loss
iou_aware
:
true
iou_aware_factor
:
0.5
YOLOv3Loss
:
ignore_thresh
:
0.7
downsample
:
[
32
,
16
,
8
]
label_smooth
:
false
scale_x_y
:
1.05
iou_loss
:
IouLoss
iou_aware_loss
:
IouAwareLoss
IouLoss
:
loss_weight
:
2.5
loss_square
:
true
IouAwareLoss
:
loss_weight
:
1.0
BBoxPostProcess
:
decode
:
name
:
YOLOBox
conf_thresh
:
0.01
downsample_ratio
:
32
clip_bbox
:
true
scale_x_y
:
1.05
nms
:
name
:
MatrixNMS
keep_top_k
:
100
score_threshold
:
0.01
post_threshold
:
0.01
nms_top_k
:
-1
background_label
:
-1
configs/ppyolo/_base_/ppyolov2_reader.yml
0 → 100644
View file @
522a602f
worker_num
:
2
TrainReader
:
inputs_def
:
num_max_boxes
:
100
sample_transforms
:
-
Decode
:
{}
-
Mixup
:
{
alpha
:
1.5
,
beta
:
1.5
}
-
RandomDistort
:
{}
-
RandomExpand
:
{
fill_value
:
[
123.675
,
116.28
,
103.53
]}
-
RandomCrop
:
{}
-
RandomFlip
:
{}
batch_transforms
:
-
BatchRandomResize
:
{
target_size
:
[
320
,
352
,
384
,
416
,
448
,
480
,
512
,
544
,
576
,
608
,
640
,
672
,
704
,
736
,
768
],
random_size
:
True
,
random_interp
:
True
,
keep_ratio
:
False
}
-
NormalizeBox
:
{}
-
PadBox
:
{
num_max_boxes
:
100
}
-
BboxXYXY2XYWH
:
{}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
-
Gt2YoloTarget
:
{
anchor_masks
:
[[
6
,
7
,
8
],
[
3
,
4
,
5
],
[
0
,
1
,
2
]],
anchors
:
[[
10
,
13
],
[
16
,
30
],
[
33
,
23
],
[
30
,
61
],
[
62
,
45
],
[
59
,
119
],
[
116
,
90
],
[
156
,
198
],
[
373
,
326
]],
downsample_ratios
:
[
32
,
16
,
8
]}
batch_size
:
12
shuffle
:
true
drop_last
:
true
mixup_epoch
:
25000
use_shared_memory
:
true
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
640
,
640
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
640
,
640
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
640
,
640
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
1
configs/ppyolo/ppyolo_mbv3_large_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/ppyolo_mbv3_large.yml'
,
'
./_base_/optimizer_1x.yml'
,
'
./_base_/ppyolo_reader.yml'
,
]
snapshot_epoch
:
10
weights
:
output/ppyolo_mbv3_large_coco/model_final
TrainReader
:
inputs_def
:
num_max_boxes
:
90
sample_transforms
:
-
Decode
:
{}
-
Mixup
:
{
alpha
:
1.5
,
beta
:
1.5
}
-
RandomDistort
:
{}
-
RandomExpand
:
{
fill_value
:
[
123.675
,
116.28
,
103.53
]}
-
RandomCrop
:
{}
-
RandomFlip
:
{}
batch_transforms
:
-
BatchRandomResize
:
target_size
:
[
224
,
256
,
288
,
320
,
352
,
384
,
416
,
448
,
480
,
512
]
random_size
:
True
random_interp
:
True
keep_ratio
:
False
-
NormalizeBox
:
{}
-
PadBox
:
{
num_max_boxes
:
90
}
-
BboxXYXY2XYWH
:
{}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
-
Gt2YoloTarget
:
anchor_masks
:
[[
3
,
4
,
5
],
[
0
,
1
,
2
]]
anchors
:
[[
11
,
18
],
[
34
,
47
],
[
51
,
126
],
[
115
,
71
],
[
120
,
195
],
[
254
,
235
]]
downsample_ratios
:
[
32
,
16
]
iou_thresh
:
0.25
num_classes
:
80
batch_size
:
32
mixup_epoch
:
200
shuffle
:
true
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
320
,
320
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
320
,
320
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
320
,
320
],
keep_ratio
:
False
,
interp
:
2
}
-
NormalizeImage
:
{
mean
:
[
0.485
,
0.456
,
0.406
],
std
:
[
0.229
,
0.224
,
0.225
],
is_scale
:
True
}
-
Permute
:
{}
batch_size
:
1
epoch
:
270
LearningRate
:
base_lr
:
0.005
schedulers
:
-
!PiecewiseDecay
gamma
:
0.1
milestones
:
-
162
-
216
-
!LinearWarmup
start_factor
:
0.
steps
:
4000
OptimizerBuilder
:
optimizer
:
momentum
:
0.9
type
:
Momentum
regularizer
:
factor
:
0.0005
type
:
L2
Prev
1
2
3
4
5
6
7
…
24
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment