add unittest for model and utils

This commit is contained in:
Xintao
2021-11-28 19:54:19 +08:00
parent 1d180efaf3
commit 42110857ef
8 changed files with 407 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
name: Demo
type: RealESRGANPairedDataset
scale: 4
dataroot_gt: tests/data
dataroot_lq: tests/data
meta_info: tests/data/meta_info_pair.txt
io_backend:
type: disk
phase: train
gt_size: 128
use_hflip: True
use_rot: False