Commit f715b2c2 authored by Rayyyyy's avatar Rayyyyy
Browse files

modify gmodx, update README

parent 42d70a9f
...@@ -115,6 +115,8 @@ python scripts/data_preparation/generate_meta_info.py ...@@ -115,6 +115,8 @@ python scripts/data_preparation/generate_meta_info.py
``` ```
## 训练 ## 训练
预训练模型下载地址:[Google Drive](https://drive.google.com/drive/folders/1HpmReFfoUqUbnAOQ7rvOeNU3uf_m69w0?usp=sharing) or [百度网盘](https://pan.baidu.com/s/1u2r4Lc2_EEeQqra2-w85Xg) (access code: qyrl)。
训练日志及weights保存在./experiments文件中 训练日志及weights保存在./experiments文件中
### 单机多卡 ### 单机多卡
...@@ -124,20 +126,21 @@ bash train.sh ...@@ -124,20 +126,21 @@ bash train.sh
``` ```
### 多机多卡 ### 多机多卡
使用多节点的情况下,需要将使用节点写入hostfile文件, 多节点每个节点一行, 例如: c1xxxxxx slots=4。
1. run_train_multi.sh中18行所需虚拟环境变量地址;
1. 修改run.sh中18行所需虚拟环境变量地址;
2. 修改single_process.sh中22行所需训练的yaml文件地址,如与默认一致,可不修改。 2. 修改single_process.sh中22行所需训练的yaml文件地址,如与默认一致,可不修改。
执行命令如下, 训练日志保存在logs文件夹下 执行命令如下, 训练日志保存在logs文件夹下
```bash ```bash
bash run.sh bash run_train_multi.sh
``` ```
## 推理 ## 推理
预训练模型下载地址:[Google Drive](https://drive.google.com/drive/folders/1HpmReFfoUqUbnAOQ7rvOeNU3uf_m69w0?usp=sharing) or [百度网盘](https://pan.baidu.com/s/1u2r4Lc2_EEeQqra2-w85Xg) (access code: qyrl)。 预训练模型下载地址:[Google Drive](https://drive.google.com/drive/folders/1HpmReFfoUqUbnAOQ7rvOeNU3uf_m69w0?usp=sharing) or [百度网盘](https://pan.baidu.com/s/1u2r4Lc2_EEeQqra2-w85Xg) (access code: qyrl)。
测试结果将保存到 ./results 路径下。
options/test/HAT_SRx4_ImageNet-LR.yml 适用于不适用ground truth image的推理过程。 测试结果将保存到 ./results 路径下。options/test/HAT_SRx4_ImageNet-LR.yml 适用于不使用 ground truth image 的推理过程。
```bash ```bash
bash val.sh bash val.sh
``` ```
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod2 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx2 # dataroot_lq: ./datasets/Set14/LRbicx2
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod3 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx3 # dataroot_lq: ./datasets/Set14/LRbicx3
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod4 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx4 dataroot_lq: ./datasets/Set5/LRbicx4
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod4 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx4 # dataroot_lq: ./datasets/Set14/LRbicx4
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -16,34 +16,34 @@ datasets: ...@@ -16,34 +16,34 @@ datasets:
test_2: # the 2nd test dataset test_2: # the 2nd test dataset
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod2 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx2 dataroot_lq: ./datasets/Set14/LRbicx2
io_backend: io_backend:
type: disk type: disk
test_3: # test_3:
name: Urban100 # name: Urban100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/urban100/GTmod2 # dataroot_gt: ./datasets/urban100/GTmod2
dataroot_lq: ./datasets/urban100/LRbicx2 # dataroot_lq: ./datasets/urban100/LRbicx2
io_backend: # io_backend:
type: disk # type: disk
test_4: # test_4:
name: BSDS100 # name: BSDS100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/BSDS100/GTmod2 # dataroot_gt: ./datasets/BSDS100/GTmod2
dataroot_lq: ./datasets/BSDS100/LRbicx2 # dataroot_lq: ./datasets/BSDS100/LRbicx2
io_backend: # io_backend:
type: disk # type: disk
test_5: # test_5:
name: Manga109 # name: Manga109
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/manga109/GTmod2 # dataroot_gt: ./datasets/manga109/GTmod2
dataroot_lq: ./datasets/manga109/LRbicx2 # dataroot_lq: ./datasets/manga109/LRbicx2
io_backend: # io_backend:
type: disk # type: disk
# network structures # network structures
network_g: network_g:
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -16,34 +16,34 @@ datasets: ...@@ -16,34 +16,34 @@ datasets:
test_2: # the 2nd test dataset test_2: # the 2nd test dataset
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod3 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx3 dataroot_lq: ./datasets/Set14/LRbicx3
io_backend: io_backend:
type: disk type: disk
test_3: # test_3:
name: Urban100 # name: Urban100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/urban100/GTmod3 # dataroot_gt: ./datasets/urban100/GTmod3
dataroot_lq: ./datasets/urban100/LRbicx3 # dataroot_lq: ./datasets/urban100/LRbicx3
io_backend: # io_backend:
type: disk # type: disk
test_4: # test_4:
name: BSDS100 # name: BSDS100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/BSDS100/GTmod3 # dataroot_gt: ./datasets/BSDS100/GTmod3
dataroot_lq: ./datasets/BSDS100/LRbicx3 # dataroot_lq: ./datasets/BSDS100/LRbicx3
io_backend: # io_backend:
type: disk # type: disk
test_5: # test_5:
name: Manga109 # name: Manga109
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/manga109/GTmod3 # dataroot_gt: ./datasets/manga109/GTmod3
dataroot_lq: ./datasets/manga109/LRbicx3 # dataroot_lq: ./datasets/manga109/LRbicx3
io_backend: # io_backend:
type: disk # type: disk
# network structures # network structures
network_g: network_g:
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod4 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx4 dataroot_lq: ./datasets/Set5/LRbicx4
io_backend: io_backend:
type: disk type: disk
...@@ -16,34 +16,34 @@ datasets: ...@@ -16,34 +16,34 @@ datasets:
test_2: # the 2nd test dataset test_2: # the 2nd test dataset
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod4 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx4 dataroot_lq: ./datasets/Set14/LRbicx4
io_backend: io_backend:
type: disk type: disk
test_3: # test_3:
name: Urban100 # name: Urban100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/urban100/GTmod4 # dataroot_gt: ./datasets/urban100/GTmod4
dataroot_lq: ./datasets/urban100/LRbicx4 # dataroot_lq: ./datasets/urban100/LRbicx4
io_backend: # io_backend:
type: disk # type: disk
test_4: # test_4:
name: BSDS100 # name: BSDS100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/BSDS100/GTmod4 # dataroot_gt: ./datasets/BSDS100/GTmod4
dataroot_lq: ./datasets/BSDS100/LRbicx4 # dataroot_lq: ./datasets/BSDS100/LRbicx4
io_backend: # io_backend:
type: disk # type: disk
test_5: # test_5:
name: Manga109 # name: Manga109
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: ./datasets/manga109/GTmod4 # dataroot_gt: ./datasets/manga109/GTmod4
dataroot_lq: ./datasets/manga109/LRbicx4 # dataroot_lq: ./datasets/manga109/LRbicx4
io_backend: # io_backend:
type: disk # type: disk
# network structures # network structures
network_g: network_g:
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod2 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx2 # dataroot_lq: ./datasets/Set14/LRbicx2
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12a
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod2 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx2 # dataroot_lq: ./datasets/Set14/LRbicx2
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod3 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx3 # dataroot_lq: ./datasets/Set14/LRbicx3
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod3 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx3 # dataroot_lq: ./datasets/Set14/LRbicx3
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -8,7 +8,7 @@ datasets: ...@@ -8,7 +8,7 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod4 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx4 dataroot_lq: ./datasets/Set5/LRbicx4
io_backend: io_backend:
type: disk type: disk
...@@ -16,7 +16,7 @@ datasets: ...@@ -16,7 +16,7 @@ datasets:
# test_2: # the 2nd test dataset # test_2: # the 2nd test dataset
# name: Set14 # name: Set14
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod4 # dataroot_gt: ./datasets/Set14/GTmod12
# dataroot_lq: ./datasets/Set14/LRbicx4 # dataroot_lq: ./datasets/Set14/LRbicx4
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -12,27 +12,27 @@ datasets: ...@@ -12,27 +12,27 @@ datasets:
test_1: # the 1st test dataset test_1: # the 1st test dataset
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod4 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx4 dataroot_lq: ./datasets/Set5/LRbicx4
io_backend: io_backend:
type: disk type: disk
# test_2: # the 2nd test dataset test_2: # the 2nd test dataset
# name: Set14 name: Set14
# type: PairedImageDataset
# dataroot_gt: ./datasets/Set14/GTmod4
# dataroot_lq: ./datasets/Set14/LRbicx4
# io_backend:
# type: disk
test_3:
name: Urban100
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/urban100/GTmod4 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/urban100/LRbicx4 dataroot_lq: ./datasets/Set14/LRbicx4
io_backend: io_backend:
type: disk type: disk
# test_3:
# name: Urban100
# type: PairedImageDataset
# dataroot_gt: ./datasets/urban100/GTmod12
# dataroot_lq: ./datasets/urban100/LRbicx4
# io_backend:
# type: disk
# test_4: # test_4:
# name: BSDS100 # name: BSDS100
# type: PairedImageDataset # type: PairedImageDataset
......
...@@ -29,7 +29,7 @@ datasets: ...@@ -29,7 +29,7 @@ datasets:
val_1: val_1:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -37,7 +37,7 @@ datasets: ...@@ -37,7 +37,7 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod2 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx2 dataroot_lq: ./datasets/Set14/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -45,7 +45,7 @@ datasets: ...@@ -45,7 +45,7 @@ datasets:
# val_3: # val_3:
# name: Urban100 # name: Urban100
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/urban100/GTmod2 # dataroot_gt: ./datasets/urban100/GTmod12
# dataroot_lq: ./datasets/urban100/LRbicx2 # dataroot_lq: ./datasets/urban100/LRbicx2
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -30,7 +30,7 @@ datasets: ...@@ -30,7 +30,7 @@ datasets:
val_1: val_1:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod2 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx2 dataroot_lq: ./datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -38,7 +38,7 @@ datasets: ...@@ -38,7 +38,7 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod2 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx2 dataroot_lq: ./datasets/Set14/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -46,7 +46,7 @@ datasets: ...@@ -46,7 +46,7 @@ datasets:
# val_3: # val_3:
# name: Urban100 # name: Urban100
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/urban100/GTmod2 # dataroot_gt: ./datasets/urban100/GTmod12
# dataroot_lq: ./datasets/urban100/LRbicx2 # dataroot_lq: ./datasets/urban100/LRbicx2
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -29,7 +29,7 @@ datasets: ...@@ -29,7 +29,7 @@ datasets:
val_1: val_1:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -37,7 +37,7 @@ datasets: ...@@ -37,7 +37,7 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod3 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx3 dataroot_lq: ./datasets/Set14/LRbicx3
io_backend: io_backend:
type: disk type: disk
......
...@@ -30,7 +30,7 @@ datasets: ...@@ -30,7 +30,7 @@ datasets:
val_1: val_1:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod3 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx3 dataroot_lq: ./datasets/Set5/LRbicx3
io_backend: io_backend:
type: disk type: disk
...@@ -38,7 +38,7 @@ datasets: ...@@ -38,7 +38,7 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod3 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx3 dataroot_lq: ./datasets/Set14/LRbicx3
io_backend: io_backend:
type: disk type: disk
......
...@@ -29,7 +29,7 @@ datasets: ...@@ -29,7 +29,7 @@ datasets:
val_1: val_1:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set5/GTmod4 dataroot_gt: ./datasets/Set5/GTmod12
dataroot_lq: ./datasets/Set5/LRbicx4 dataroot_lq: ./datasets/Set5/LRbicx4
io_backend: io_backend:
type: disk type: disk
...@@ -37,7 +37,7 @@ datasets: ...@@ -37,7 +37,7 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: ./datasets/Set14/GTmod4 dataroot_gt: ./datasets/Set14/GTmod12
dataroot_lq: ./datasets/Set14/LRbicx4 dataroot_lq: ./datasets/Set14/LRbicx4
io_backend: io_backend:
type: disk type: disk
...@@ -45,7 +45,7 @@ datasets: ...@@ -45,7 +45,7 @@ datasets:
# val_3: # val_3:
# name: Urban100 # name: Urban100
# type: PairedImageDataset # type: PairedImageDataset
# dataroot_gt: ./datasets/urban100/GTmod4 # dataroot_gt: ./datasets/urban100/GTmod12
# dataroot_lq: ./datasets/urban100/LRbicx4 # dataroot_lq: ./datasets/urban100/LRbicx4
# io_backend: # io_backend:
# type: disk # type: disk
......
...@@ -30,7 +30,7 @@ datasets: ...@@ -30,7 +30,7 @@ datasets:
val: val:
name: Set5 name: Set5
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: datasets/Set5/GTmod2 dataroot_gt: datasets/Set5/GTmod12
dataroot_lq: datasets/Set5/LRbicx2 dataroot_lq: datasets/Set5/LRbicx2
io_backend: io_backend:
type: disk type: disk
...@@ -38,18 +38,18 @@ datasets: ...@@ -38,18 +38,18 @@ datasets:
val_2: val_2:
name: Set14 name: Set14
type: PairedImageDataset type: PairedImageDataset
dataroot_gt: datasets/Set14/GTmod2 dataroot_gt: datasets/Set14/GTmod12
dataroot_lq: datasets/Set14/LRbicx2 dataroot_lq: datasets/Set14/LRbicx2
io_backend: io_backend:
type: disk type: disk
val_3: # val_3:
name: Urban100 # name: Urban100
type: PairedImageDataset # type: PairedImageDataset
dataroot_gt: datasets/urban100/GTmod2 # dataroot_gt: datasets/urban100/GTmod2
dataroot_lq: datasets/urban100/LRbicx2 # dataroot_lq: datasets/urban100/LRbicx2
io_backend: # io_backend:
type: disk # type: disk
# network structures # network structures
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment