From e5ebac111bd908164f4a3822fb46161be2329d73 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Tue, 8 Jun 2021 21:30:25 +0800 Subject: [PATCH] fix pafnet reader (#3329) --- configs/ttfnet/_base_/pafnet_lite_reader.yml | 4 +--- configs/ttfnet/_base_/pafnet_reader.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configs/ttfnet/_base_/pafnet_lite_reader.yml b/configs/ttfnet/_base_/pafnet_lite_reader.yml index f88e8bfff..024792114 100644 --- a/configs/ttfnet/_base_/pafnet_lite_reader.yml +++ b/configs/ttfnet/_base_/pafnet_lite_reader.yml @@ -2,8 +2,7 @@ worker_num: 2 TrainReader: sample_transforms: - Decode: {} - - Cutmix: {alpha: 1.5, beta: 1.5} - - RandomDistort: {} + - RandomDistort: {brightness: [-32., 32., 0.5], random_apply: False, random_channel: True} - RandomExpand: {fill_value: [123.675, 116.28, 103.53]} - RandomCrop: {aspect_ratio: NULL, cover_all_box: True} - RandomFlip: {} @@ -18,7 +17,6 @@ TrainReader: shuffle: true drop_last: true use_shared_memory: true - cutmix_epoch: 200 EvalReader: sample_transforms: diff --git a/configs/ttfnet/_base_/pafnet_reader.yml b/configs/ttfnet/_base_/pafnet_reader.yml index be87a7883..ccbbdb257 100644 --- a/configs/ttfnet/_base_/pafnet_reader.yml +++ b/configs/ttfnet/_base_/pafnet_reader.yml @@ -2,8 +2,7 @@ worker_num: 2 TrainReader: sample_transforms: - Decode: {} - - Cutmix: {alpha: 1.5, beta: 1.5} - - RandomDistort: {random_apply: false, random_channel: true} + - RandomDistort: {brightness: [-32., 32., 0.5], random_apply: false, random_channel: true} - RandomExpand: {fill_value: [123.675, 116.28, 103.53]} - RandomCrop: {aspect_ratio: NULL, cover_all_box: True} - RandomFlip: {prob: 0.5} @@ -17,7 +16,6 @@ TrainReader: shuffle: true drop_last: true use_shared_memory: true - mixup_epoch: 100 EvalReader: sample_transforms: -- GitLab