From 43331c6d885af3729dbbd2436c213057a010e22c Mon Sep 17 00:00:00 2001 From: sooahleex Date: Tue, 27 Aug 2024 12:42:28 +0900 Subject: [PATCH 1/2] Add warmup_iters for effv2 --- .../classification/h_label_cls/efficientnet_v2.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml b/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml index 848a985d433..752e74e9ea1 100644 --- a/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml +++ b/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml @@ -10,14 +10,6 @@ model: momentum: 0.9 weight_decay: 0.0001 - scheduler: - class_path: lightning.pytorch.cli.ReduceLROnPlateau - init_args: - mode: max - factor: 0.5 - patience: 1 - monitor: val/accuracy - engine: task: H_LABEL_CLS device: auto @@ -29,12 +21,12 @@ overrides: reset: - data.train_subset.transforms - max_epochs: 90 + max_epochs: 200 callbacks: - class_path: otx.algo.callbacks.adaptive_early_stopping.EarlyStoppingWithWarmup init_args: patience: 3 - + warmup_iters: 750 data: task: H_LABEL_CLS data_format: datumaro From 5d8c07a766f014829bd0da448cce6a1d78e9cfe3 Mon Sep 17 00:00:00 2001 From: sooahleex Date: Tue, 27 Aug 2024 12:58:43 +0900 Subject: [PATCH 2/2] Update max_epochs --- src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml b/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml index 752e74e9ea1..9c06011a1c9 100644 --- a/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml +++ b/src/otx/recipe/classification/h_label_cls/efficientnet_v2.yaml @@ -21,7 +21,7 @@ overrides: reset: - data.train_subset.transforms - max_epochs: 200 + max_epochs: 90 callbacks: - class_path: otx.algo.callbacks.adaptive_early_stopping.EarlyStoppingWithWarmup init_args: