human-pose-estimation.pytorch icon indicating copy to clipboard operation
human-pose-estimation.pytorch copied to clipboard

关于数据增强的疑惑。

Open YuQi9797 opened this issue 4 years ago • 0 comments

作者您好,关于数据增强,我想请教下。 https://github.com/microsoft/human-pose-estimation.pytorch/blob/master/experiments/coco/resnet50/384x288_d256x3_adam_lr1e-3.yaml#L14 配置文件中,ROT_FACTOR: 40SCALE_FACTOR: 0.3。 然后数据集处理过程中 https://github.com/microsoft/human-pose-estimation.pytorch/blob/master/lib/dataset/JointsDataset.py#L93 s = s * np.clip(np.random.randn()*sf + 1, 1 - sf, 1 + sf) r = np.clip(np.random.randn()*rf, -rf*2, rf*2) \ if random.random() <= 0.6 else 0

请问这里是否就是指的是数据随即缩放(1-0.3, 1+0.3) 即 随机缩放([0.7, 1.3]),同时随机旋转([-80°, 80°])呢?

YuQi9797 avatar Jul 19 '21 12:07 YuQi9797