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
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
244 additions
and
0 deletions
+244
-0
configs/yolox/yolox_cdn_tiny_300e_coco.yml
configs/yolox/yolox_cdn_tiny_300e_coco.yml
+14
-0
configs/yolox/yolox_crn_s_300e_coco.yml
configs/yolox/yolox_crn_s_300e_coco.yml
+28
-0
configs/yolox/yolox_l_300e_coco.yml
configs/yolox/yolox_l_300e_coco.yml
+13
-0
configs/yolox/yolox_m_300e_coco.yml
configs/yolox/yolox_m_300e_coco.yml
+13
-0
configs/yolox/yolox_nano_300e_coco.yml
configs/yolox/yolox_nano_300e_coco.yml
+81
-0
configs/yolox/yolox_s_300e_coco.yml
configs/yolox/yolox_s_300e_coco.yml
+13
-0
configs/yolox/yolox_tiny_300e_coco.yml
configs/yolox/yolox_tiny_300e_coco.yml
+69
-0
configs/yolox/yolox_x_300e_coco.yml
configs/yolox/yolox_x_300e_coco.yml
+13
-0
No files found.
configs/yolox/yolox_cdn_tiny_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
yolox_tiny_300e_coco.yml'
]
depth_mult
:
0.33
width_mult
:
0.375
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_cdn_tiny_300e_coco/model_final
CSPDarkNet
:
arch
:
"
P5"
# using the same backbone of YOLOv5 releases v6.0 and later version
return_idx
:
[
2
,
3
,
4
]
depthwise
:
False
configs/yolox/yolox_crn_s_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
0.33
width_mult
:
0.50
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_crn_s_300e_coco/model_final
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/pretrained/CSPResNetb_s_pretrained.pdparams
YOLOX
:
backbone
:
CSPResNet
neck
:
YOLOCSPPAN
head
:
YOLOXHead
size_stride
:
32
size_range
:
[
15
,
25
]
# multi-scale range [480*480 ~ 800*800]
CSPResNet
:
layers
:
[
3
,
6
,
6
,
3
]
channels
:
[
64
,
128
,
256
,
512
,
1024
]
return_idx
:
[
1
,
2
,
3
]
use_large_stem
:
True
configs/yolox/yolox_l_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
1.0
width_mult
:
1.0
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_l_300e_coco/model_final
configs/yolox/yolox_m_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
0.67
width_mult
:
0.75
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_m_300e_coco/model_final
configs/yolox/yolox_nano_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
0.33
width_mult
:
0.25
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_nano_300e_coco/model_final
### model config:
# Note: YOLOX-nano use depthwise conv in backbone, neck and head.
YOLOX
:
backbone
:
CSPDarkNet
neck
:
YOLOCSPPAN
head
:
YOLOXHead
size_stride
:
32
size_range
:
[
10
,
20
]
# multi-scale range [320*320 ~ 640*640]
CSPDarkNet
:
arch
:
"
X"
return_idx
:
[
2
,
3
,
4
]
depthwise
:
True
YOLOCSPPAN
:
depthwise
:
True
YOLOXHead
:
depthwise
:
True
### reader config:
# Note: YOLOX-tiny/nano uses 416*416 for evaluation and inference.
# And multi-scale training setting is in model config, TrainReader's operators use 640*640 as default.
worker_num
:
4
TrainReader
:
sample_transforms
:
-
Decode
:
{}
-
Mosaic
:
prob
:
0.5
# 1.0 in YOLOX-tiny/s/m/l/x
input_dim
:
[
640
,
640
]
degrees
:
[
-10
,
10
]
scale
:
[
0.5
,
1.5
]
# [0.1, 2.0] in YOLOX-s/m/l/x
shear
:
[
-2
,
2
]
translate
:
[
-0.1
,
0.1
]
enable_mixup
:
False
# True in YOLOX-s/m/l/x
-
AugmentHSV
:
{
is_bgr
:
False
,
hgain
:
5
,
sgain
:
30
,
vgain
:
30
}
-
PadResize
:
{
target_size
:
640
}
-
RandomFlip
:
{}
batch_transforms
:
-
Permute
:
{}
batch_size
:
8
shuffle
:
True
drop_last
:
True
collate_batch
:
False
mosaic_epoch
:
285
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
416
,
416
],
keep_ratio
:
True
,
interp
:
1
}
-
Pad
:
{
size
:
[
416
,
416
],
fill_value
:
[
114.
,
114.
,
114.
]}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
416
,
416
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
416
,
416
],
keep_ratio
:
True
,
interp
:
1
}
-
Pad
:
{
size
:
[
416
,
416
],
fill_value
:
[
114.
,
114.
,
114.
]}
-
Permute
:
{}
batch_size
:
1
configs/yolox/yolox_s_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
0.33
width_mult
:
0.50
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_s_300e_coco/model_final
configs/yolox/yolox_tiny_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
0.33
width_mult
:
0.375
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_tiny_300e_coco/model_final
### model config:
YOLOX
:
backbone
:
CSPDarkNet
neck
:
YOLOCSPPAN
head
:
YOLOXHead
size_stride
:
32
size_range
:
[
10
,
20
]
# multi-scale ragne [320*320 ~ 640*640]
### reader config:
# Note: YOLOX-tiny/nano uses 416*416 for evaluation and inference.
# And multi-scale training setting is in model config, TrainReader's operators use 640*640 as default.
worker_num
:
4
TrainReader
:
sample_transforms
:
-
Decode
:
{}
-
Mosaic
:
prob
:
1.0
input_dim
:
[
640
,
640
]
degrees
:
[
-10
,
10
]
scale
:
[
0.5
,
1.5
]
# [0.1, 2.0] in YOLOX-s/m/l/x
shear
:
[
-2
,
2
]
translate
:
[
-0.1
,
0.1
]
enable_mixup
:
False
# True in YOLOX-s/m/l/x
-
AugmentHSV
:
{
is_bgr
:
False
,
hgain
:
5
,
sgain
:
30
,
vgain
:
30
}
-
PadResize
:
{
target_size
:
640
}
-
RandomFlip
:
{}
batch_transforms
:
-
Permute
:
{}
batch_size
:
8
shuffle
:
True
drop_last
:
True
collate_batch
:
False
mosaic_epoch
:
285
EvalReader
:
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
416
,
416
],
keep_ratio
:
True
,
interp
:
1
}
-
Pad
:
{
size
:
[
416
,
416
],
fill_value
:
[
114.
,
114.
,
114.
]}
-
Permute
:
{}
batch_size
:
8
TestReader
:
inputs_def
:
image_shape
:
[
3
,
416
,
416
]
sample_transforms
:
-
Decode
:
{}
-
Resize
:
{
target_size
:
[
416
,
416
],
keep_ratio
:
True
,
interp
:
1
}
-
Pad
:
{
size
:
[
416
,
416
],
fill_value
:
[
114.
,
114.
,
114.
]}
-
Permute
:
{}
batch_size
:
1
configs/yolox/yolox_x_300e_coco.yml
0 → 100644
View file @
522a602f
_BASE_
:
[
'
../datasets/coco_detection.yml'
,
'
../runtime.yml'
,
'
./_base_/optimizer_300e.yml'
,
'
./_base_/yolox_cspdarknet.yml'
,
'
./_base_/yolox_reader.yml'
]
depth_mult
:
1.33
width_mult
:
1.25
log_iter
:
100
snapshot_epoch
:
10
weights
:
output/yolox_x_300e_coco/model_final
Prev
1
…
20
21
22
23
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