From 191a2a2fc704a7cbbc659bce993a0190f4001778 Mon Sep 17 00:00:00 2001 From: Yoann Schneider <yschneider@teklia.com> Date: Tue, 14 Nov 2023 10:17:51 +0100 Subject: [PATCH] Update doc and fix tests --- docs/usage/train/config.md | 3 ++- tests/data/training/models/best_0.pt | 2 +- tests/data/training/models/last_3.pt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/usage/train/config.md b/docs/usage/train/config.md index 148f0fa9..a435fdc6 100644 --- a/docs/usage/train/config.md +++ b/docs/usage/train/config.md @@ -134,7 +134,8 @@ The following configuration is used by default when using the `teklia-dan train` ```py transforms = A.Compose( [ - DPIAdjusting(min_factor=0.75, max_factor=1), + # Scale between 0.75 and 1.0 + RandomScale(scale_limit=[-0.25, 0], always_apply=True, interpolation=cv2.INTER_AREA), A.SomeOf( [ ErosionDilation(min_kernel=1, max_kernel=4, iterations=1), diff --git a/tests/data/training/models/best_0.pt b/tests/data/training/models/best_0.pt index 79bcb28a..889355b0 100644 --- a/tests/data/training/models/best_0.pt +++ b/tests/data/training/models/best_0.pt @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:428ceb4d08363c05b6e60e87e5e1ae65560d345756926c23f13e6d191dc33d69 +oid sha256:a1fc3f9bdf52055aadefe49ff3537d9e6c9b1af5b14364d027d3fcdebeabf9a7 size 84773087 diff --git a/tests/data/training/models/last_3.pt b/tests/data/training/models/last_3.pt index c7ecb5db..2cbaf1a2 100644 --- a/tests/data/training/models/last_3.pt +++ b/tests/data/training/models/last_3.pt @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c2029a5822c5a8d4253a95c33a05357e707b9b46d056988dcab730945dfd5775 +oid sha256:8e8536dc913af4d1560413c1d91aa41d1636c0b8ed557389b82e74fb991312b0 size 84773087 -- GitLab