Skip to content

Commit

Permalink
Fix Semi-SL for ViT accuracy drop (#3883)
Browse files Browse the repository at this point in the history
Remove init_args
  • Loading branch information
harimkang authored Aug 23, 2024
1 parent ccf2d50 commit e577b6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/otx/algo/classification/vit.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ def _build_model(self, num_classes: int) -> nn.Module:
in_channels=vit_backbone.embed_dim,
),
loss=nn.CrossEntropyLoss(reduction="none"),
init_cfg=init_cfg,
)

return ImageClassifier(
Expand Down

0 comments on commit e577b6a

Please sign in to comment.