-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract contrastive head configuration from code into its own Hydra c…
…onfig
- Loading branch information
1 parent
47f2902
commit efb1330
Showing
3 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Build the projection head as an MLP with a single hidden layer and constant width, as proposed in | ||
# https://arxiv.org/abs/2106.15147 | ||
_target_: vital.models.classification.mlp.MLP | ||
input_shape: [task.embed_dim] | ||
output_shape: [task.embed_dim] | ||
hidden: [task.embed_dim] | ||
dropout: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters