Skip to content

Commit

Permalink
[Fix] Fix some typos in configs (open-mmlab#1496)
Browse files Browse the repository at this point in the history
* fix some typos in configs

* [Docs] Fix markdown version
  • Loading branch information
liqikai9 authored and jin-s13 committed Jul 29, 2022
1 parent afb37d4 commit fb652c3
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,8 @@

train_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='TopDownGetBboxCenterScale',
padding=1.0,
shift_prob=0.3,
shift_factor=0.2),
dict(type='TopDownGetBboxCenterScale', padding=1.0),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.2, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownHalfBodyTransform',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,8 @@

train_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='TopDownGetBboxCenterScale',
padding=1.0,
shift_prob=0.3,
shift_factor=0.2),
dict(type='TopDownGetBboxCenterScale', padding=1.0),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.2, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownHalfBodyTransform',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@

train_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='TopDownGetBboxCenterScale',
padding=1.0,
shift_prob=0.3,
shift_factor=0.2),
dict(type='TopDownGetBboxCenterScale', padding=1.0),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.2, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownHalfBodyTransform',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@

train_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='TopDownGetBboxCenterScale',
padding=1.0,
shift_prob=0.3,
shift_factor=0.2),
dict(type='TopDownGetBboxCenterScale', padding=1.0),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.2, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownHalfBodyTransform',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@

train_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='TopDownGetBboxCenterScale',
padding=1.0,
shift_prob=0.3,
shift_factor=0.2),
dict(type='TopDownGetBboxCenterScale', padding=1.0),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.2, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownHalfBodyTransform',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# The bbox is the tightest bbox enclosing keypoints. The paper uses 2.2
# bbox as the input, while we use 1.76 (2.2 * 0.8) bbox as the input.
dict(type='TopDownGetBboxCenterScale', padding=1.76),
dict(type='TopDownRandShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
dict(type='TopDownRandomFlip', flip_prob=0.5),
dict(
type='TopDownGetRandomScaleRotation', rot_factor=90, scale_factor=0.3),
Expand Down
1 change: 1 addition & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
docutils==0.16.0
markdown<3.4.0
myst-parser
-e git+https://github.com/gaotongxiao/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
sphinx==4.0.2
Expand Down

0 comments on commit fb652c3

Please sign in to comment.