Skip to content

Commit

Permalink
Merge 8398ff3 into 9cfa29f
Browse files Browse the repository at this point in the history
  • Loading branch information
gaotongxiao authored May 9, 2022
2 parents 9cfa29f + 8398ff3 commit 672f1f0
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions configs/_base_/det_pipelines/dbnet_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 736),
img_scale=(1333, 736), # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(2944, 736), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down Expand Up @@ -76,10 +76,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=(4068, 1024),
img_scale=(4068, 1024), # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(2944, 736), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg_r50dcnv2),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down
4 changes: 2 additions & 2 deletions configs/_base_/det_pipelines/drrg_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=(1024, 640),
img_scale=(1024, 640), # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1024, 640), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down
8 changes: 4 additions & 4 deletions configs/_base_/det_pipelines/fcenet_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_icdar2015,
img_scale=img_scale_icdar2015, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1280, 800), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down Expand Up @@ -106,10 +106,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_ctw1500,
img_scale=img_scale_ctw1500, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1280, 800), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down
4 changes: 2 additions & 2 deletions configs/_base_/det_pipelines/maskrcnn_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_ctw1500,
img_scale=img_scale_ctw1500, # used by Resize
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
Expand All @@ -45,7 +45,7 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_icdar2015,
img_scale=img_scale_icdar2015, # used by Resize
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
Expand Down
12 changes: 6 additions & 6 deletions configs/_base_/det_pipelines/panet_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_test_ctw1500,
img_scale=img_scale_test_ctw1500, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(3000, 640), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down Expand Up @@ -93,10 +93,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_test_icdar2015,
img_scale=img_scale_test_icdar2015, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(3000, 640), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down Expand Up @@ -144,10 +144,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_test_icdar2017,
img_scale=img_scale_test_icdar2017, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(3000, 640), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down
8 changes: 4 additions & 4 deletions configs/_base_/det_pipelines/psenet_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_test_ctw1500,
img_scale=img_scale_test_ctw1500, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1280, 1280), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand All @@ -58,10 +58,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=img_scale_test_icdar2015,
img_scale=img_scale_test_icdar2015, # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1280, 1280), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down
4 changes: 2 additions & 2 deletions configs/_base_/det_pipelines/textsnake_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
dict(type='LoadImageFromFile', color_type='color_ignore_orientation'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 736),
img_scale=(1333, 736), # used by Resize
flip=False,
transforms=[
dict(type='Resize', img_scale=(1333, 736), keep_ratio=True),
dict(type='Resize', keep_ratio=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
Expand Down

0 comments on commit 672f1f0

Please sign in to comment.