From 1e7e3d17e5d001390e1e6d72dc6ee15a759d4c48 Mon Sep 17 00:00:00 2001 From: Z-Fran <49083766+Z-Fran@users.noreply.github.com> Date: Wed, 30 Nov 2022 16:31:21 +0800 Subject: [PATCH] [Fix] fix realesrnet test dataset (#1489) [FIx] fix realesrnet test dataset --- .../realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost.py b/configs/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost.py index ddc69f9c38..0d11f6c88e 100644 --- a/configs/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost.py +++ b/configs/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost.py @@ -196,6 +196,7 @@ dict(type='ImageToTensor', keys=['lq']), dict(type='Collect', keys=['lq'], meta_keys=['lq_path']), ] +test_pipeline = val_pipeline data = dict( workers_per_gpu=6, @@ -223,9 +224,9 @@ filename_tmpl='{}'), test=dict( type=val_dataset_type, - lq_folder='data/realsrset', - gt_folder='data/realsrset', - pipeline=test_pipeline, + lq_folder='data/set5/bicLRx4', + gt_folder='data/set5/HR', + pipeline=val_pipeline, scale=scale, filename_tmpl='{}'))