Skip to content

Commit

Permalink
update dinov2 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjuleee committed Jul 16, 2024
1 parent adf1f39 commit 68fbf5e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/otx/recipe/classification/multi_class_cls/dino_v2.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
model:
class_path: otx.algo.classification.dino_v2.DINOv2RegisterClassifier
class_path: otx.algo.classification.vit.VisionTransformerForMulticlassCls
init_args:
label_info: 1000
freeze_backbone: False
backbone: dinov2_vits14_reg
arch: "dinov2-small"

optimizer:
class_path: torch.optim.AdamW
init_args:
lr: 1e-5
lr: 0.0001
weight_decay: 0.05

scheduler:
class_path: lightning.pytorch.cli.ReduceLROnPlateau
init_args:
mode: min
mode: max
factor: 0.5
patience: 9
monitor: train/loss
patience: 1
monitor: val/accuracy

engine:
task: MULTI_CLASS_CLS
Expand Down

0 comments on commit 68fbf5e

Please sign in to comment.