Skip to content

Commit

Permalink
Fix lr to 8gpus in slowonly (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
su authored Aug 18, 2020
1 parent 4ad6cfb commit 063ced5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
dict(type='ToTensor', keys=['imgs'])
]
data = dict(
videos_per_gpu=16,
videos_per_gpu=8,
workers_per_gpu=4,
train=dict(
type=dataset_type,
Expand All @@ -90,7 +90,7 @@
pipeline=test_pipeline))
# optimizer
optimizer = dict(
type='SGD', lr=0.6, momentum=0.9,
type='SGD', lr=0.1, momentum=0.9,
weight_decay=0.0001) # this lr is used for 8 gpus
optimizer_config = dict(grad_clip=dict(max_norm=40, norm_type=2))
# learning policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
dict(type='ToTensor', keys=['imgs'])
]
data = dict(
videos_per_gpu=16,
videos_per_gpu=8,
workers_per_gpu=4,
train=dict(
type=dataset_type,
Expand All @@ -90,7 +90,7 @@
pipeline=test_pipeline))
# optimizer
optimizer = dict(
type='SGD', lr=0.6, momentum=0.9,
type='SGD', lr=0.1, momentum=0.9,
weight_decay=0.0001) # this lr is used for 8 gpus
optimizer_config = dict(grad_clip=dict(max_norm=40, norm_type=2))
# learning policy
Expand Down

0 comments on commit 063ced5

Please sign in to comment.