Skip to content

Commit

Permalink
[Bug] fix rdn and srcnn train configs (#1392)
Browse files Browse the repository at this point in the history
* fix srcnn

* fix rdn
  • Loading branch information
Z-Fran authored Nov 2, 2022
1 parent 424c48c commit 73ba837
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion configs/rdn/rdn_x2c64b16_1xb16-1000k_div2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

train_dataloader = dict(
num_workers=4,
batch_size=16,
persistent_workers=False,
sampler=dict(type='InfiniteSampler', shuffle=True),
dataset=dict(
Expand Down Expand Up @@ -109,7 +110,7 @@
optim_wrapper = dict(
constructor='DefaultOptimWrapperConstructor',
type='OptimWrapper',
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.99)))
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.999)))

# learning policy
param_scheduler = dict(
Expand Down
3 changes: 2 additions & 1 deletion configs/rdn/rdn_x3c64b16_1xb16-1000k_div2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

train_dataloader = dict(
num_workers=4,
batch_size=16,
persistent_workers=False,
sampler=dict(type='InfiniteSampler', shuffle=True),
dataset=dict(
Expand Down Expand Up @@ -109,7 +110,7 @@
optim_wrapper = dict(
constructor='DefaultOptimWrapperConstructor',
type='OptimWrapper',
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.99)))
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.999)))

# learning policy
param_scheduler = dict(
Expand Down
3 changes: 2 additions & 1 deletion configs/rdn/rdn_x4c64b16_1xb16-1000k_div2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

train_dataloader = dict(
num_workers=4,
batch_size=16,
persistent_workers=False,
sampler=dict(type='InfiniteSampler', shuffle=True),
dataset=dict(
Expand Down Expand Up @@ -110,7 +111,7 @@
optim_wrapper = dict(
constructor='DefaultOptimWrapperConstructor',
type='OptimWrapper',
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.99)))
optimizer=dict(type='Adam', lr=1e-4, betas=(0.9, 0.999)))

# learning policy
param_scheduler = dict(
Expand Down
3 changes: 2 additions & 1 deletion configs/srcnn/srcnn_x4k915_1xb16-1000k_div2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

train_dataloader = dict(
num_workers=4,
batch_size=16,
persistent_workers=False,
sampler=dict(type='InfiniteSampler', shuffle=True),
dataset=dict(
Expand Down Expand Up @@ -109,7 +110,7 @@
optim_wrapper = dict(
constructor='DefaultOptimWrapperConstructor',
type='OptimWrapper',
optimizer=dict(type='Adam', lr=2e-4, betas=(0.9, 0.99)))
optimizer=dict(type='Adam', lr=2e-4, betas=(0.9, 0.999)))

# learning policy
param_scheduler = dict(
Expand Down

0 comments on commit 73ba837

Please sign in to comment.