Skip to content

Commit

Permalink
[Fix]Update swinir_x2s48w8d6e180_8xb4-lr2e-4-500k_div2k.py, use Multi…
Browse files Browse the repository at this point in the history
…ValLoop. (#2085)

Update swinir_x2s48w8d6e180_8xb4-lr2e-4-500k_div2k.py, use MultiValLoop.

`ValLoop` does not work well in mmagic and the training expects the validation to have certain methods/attributes only supported in `MultiValLoop` and not in `ValLoop`.
  • Loading branch information
ashutoshsingh0223 authored Dec 11, 2023
1 parent 9ee23d5 commit 73d7b01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

train_cfg = dict(
type='IterBasedTrainLoop', max_iters=500_000, val_interval=5000)
val_cfg = dict(type='ValLoop')
val_cfg = dict(type='MultiValLoop')

# optimizer
optim_wrapper = dict(
Expand Down

0 comments on commit 73d7b01

Please sign in to comment.