summaryrefslogtreecommitdiff
path: root/training/conf
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:44:27 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:44:27 +0100
commit347a39201af4144e880a4b6f24e1e6bb761ee948 (patch)
treeb172bdface93310d26013fae94a2b798d55a2a4e /training/conf
parenta9a7c8ab3314e36eed7781552bf1b383a624eea2 (diff)
Update distortion scale
Diffstat (limited to 'training/conf')
-rw-r--r--training/conf/datamodule/transform/lines.yaml2
-rw-r--r--training/conf/datamodule/transform/paragraphs.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/training/conf/datamodule/transform/lines.yaml b/training/conf/datamodule/transform/lines.yaml
index 34816e1..d7e51e1 100644
--- a/training/conf/datamodule/transform/lines.yaml
+++ b/training/conf/datamodule/transform/lines.yaml
@@ -15,7 +15,7 @@ random_affine:
random_perspective:
_target_: torchvision.transforms.RandomPerspective
- distortion_scale: 0.15
+ distortion_scale: 0.07
p: 0.5
fill: 0
diff --git a/training/conf/datamodule/transform/paragraphs.yaml b/training/conf/datamodule/transform/paragraphs.yaml
index af06c99..c1d2e4f 100644
--- a/training/conf/datamodule/transform/paragraphs.yaml
+++ b/training/conf/datamodule/transform/paragraphs.yaml
@@ -18,7 +18,7 @@ random_affine:
random_perspective:
_target_: torchvision.transforms.RandomPerspective
- distortion_scale: 0.15
+ distortion_scale: 0.07
p: 0.5
fill: 0