Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
TencentARC
GitHub Repository: TencentARC/GFPGAN
Path: blob/master/tests/data/test_ffhq_degradation_dataset.yml
884 views
1
name: UnitTest
2
type: FFHQDegradationDataset
3
dataroot_gt: tests/data/gt
4
io_backend:
5
type: disk
6
7
use_hflip: true
8
mean: [0.5, 0.5, 0.5]
9
std: [0.5, 0.5, 0.5]
10
out_size: 512
11
12
blur_kernel_size: 41
13
kernel_list: ['iso', 'aniso']
14
kernel_prob: [0.5, 0.5]
15
blur_sigma: [0.1, 10]
16
downsample_range: [0.8, 8]
17
noise_range: [0, 20]
18
jpeg_range: [60, 100]
19
20
# color jitter and gray
21
color_jitter_prob: 1
22
color_jitter_shift: 20
23
color_jitter_pt_prob: 1
24
gray_prob: 1
25
26