Skip to content

Commit

Permalink
Add back SSIM to configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ckkelvinchan committed Apr 25, 2021
1 parent 9d30c03 commit 3c1612e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configs/restorers/basicvsr/basicvsr_reds4.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0)
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0)

# dataset settings
train_dataset_type = 'SRREDSMultipleGTDataset'
Expand Down
2 changes: 1 addition & 1 deletion configs/restorers/basicvsr/basicvsr_vimeo90k_bd.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0, convert_to='y')
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0, convert_to='y')

# dataset settings
train_dataset_type = 'SRVimeo90KMultipleGTDataset'
Expand Down
2 changes: 1 addition & 1 deletion configs/restorers/basicvsr/basicvsr_vimeo90k_bi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0, convert_to='y')
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0, convert_to='y')

# dataset settings
train_dataset_type = 'SRVimeo90KMultipleGTDataset'
Expand Down
2 changes: 1 addition & 1 deletion configs/restorers/iconvsr/iconvsr_reds4.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0)
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0)

# dataset settings
train_dataset_type = 'SRREDSMultipleGTDataset'
Expand Down
2 changes: 1 addition & 1 deletion configs/restorers/iconvsr/iconvsr_vimeo90k_bd.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0, convert_to='y')
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0, convert_to='y')

# dataset settings
train_dataset_type = 'SRVimeo90KMultipleGTDataset'
Expand Down
2 changes: 1 addition & 1 deletion configs/restorers/iconvsr/iconvsr_vimeo90k_bi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
pixel_loss=dict(type='CharbonnierLoss', loss_weight=1.0, reduction='mean'))
# model training and testing settings
train_cfg = dict(fix_iter=5000)
test_cfg = dict(metrics=['PSNR'], crop_border=0, convert_to='y')
test_cfg = dict(metrics=['PSNR', 'SSIM'], crop_border=0, convert_to='y')

# dataset settings
train_dataset_type = 'SRVimeo90KMultipleGTDataset'
Expand Down

0 comments on commit 3c1612e

Please sign in to comment.