From 9d3e158f48e3e965d67f154e05faaaf1cadbb836 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 10 Oct 2021 18:05:44 +0200 Subject: Update configs --- training/conf/datamodule/test_transform/default.yaml | 2 ++ training/conf/datamodule/test_transform/iam_lines.yaml | 6 ++++++ training/conf/datamodule/test_transform/paragraphs.yaml | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 training/conf/datamodule/test_transform/default.yaml create mode 100644 training/conf/datamodule/test_transform/iam_lines.yaml create mode 100644 training/conf/datamodule/test_transform/paragraphs.yaml (limited to 'training/conf/datamodule/test_transform') diff --git a/training/conf/datamodule/test_transform/default.yaml b/training/conf/datamodule/test_transform/default.yaml new file mode 100644 index 0000000..d6f6d78 --- /dev/null +++ b/training/conf/datamodule/test_transform/default.yaml @@ -0,0 +1,2 @@ +to_tensor: + _target_: torchvision.transforms.ToTensor diff --git a/training/conf/datamodule/test_transform/iam_lines.yaml b/training/conf/datamodule/test_transform/iam_lines.yaml new file mode 100644 index 0000000..a14ec82 --- /dev/null +++ b/training/conf/datamodule/test_transform/iam_lines.yaml @@ -0,0 +1,6 @@ +embed_crop: + _target_: text_recognizer.data.transforms.embed_crop.EmbedCrop + augment: true + +to_tensor: + _target_: torchvision.transforms.ToTensor diff --git a/training/conf/datamodule/test_transform/paragraphs.yaml b/training/conf/datamodule/test_transform/paragraphs.yaml new file mode 100644 index 0000000..a69eae9 --- /dev/null +++ b/training/conf/datamodule/test_transform/paragraphs.yaml @@ -0,0 +1,6 @@ +center_crop: + _target_: torchvision.transforms.CenterCrop + size: [576, 640] + +to_tensor: + _target_: torchvision.transforms.ToTensor -- cgit v1.2.3-70-g09d2