From 94ec29dc00b8e19dd7fcdaac0856b6cf00abd469 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 11 Feb 2022 22:51:31 +0100 Subject: fix(paragraphs-conf): replace random crop with center crop --- training/conf/datamodule/transform/paragraphs.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'training/conf/datamodule') diff --git a/training/conf/datamodule/transform/paragraphs.yaml b/training/conf/datamodule/transform/paragraphs.yaml index 1b0ab04..5e5314c 100644 --- a/training/conf/datamodule/transform/paragraphs.yaml +++ b/training/conf/datamodule/transform/paragraphs.yaml @@ -1,10 +1,14 @@ -random_crop: - _target_: torchvision.transforms.RandomCrop +# random_crop: +# _target_: torchvision.transforms.RandomCrop +# size: [576, 640] +# padding: null +# pad_if_needed: true +# fill: 0 +# padding_mode: constant + +center_crop: + _target_: torchvision.transforms.CenterCrop size: [576, 640] - padding: null - pad_if_needed: true - fill: 0 - padding_mode: constant color_jitter: _target_: torchvision.transforms.ColorJitter -- cgit v1.2.3-70-g09d2