Skip to content

Commit

Permalink
mask token of decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
ersi-lightly committed Feb 6, 2024
1 parent d10d9e9 commit e712bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/imagenet/vitb16/mae.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def configure_optimizers(self):
params, params_no_weight_decay = utils.get_weight_decay_parameters(
[self.backbone, self.decoder]
)
params.append(self.backbone.mask_token)
params.append(self.decoder.mask_token)
optimizer = AdamW(
[
{"name": "mae", "params": params},
Expand Down

0 comments on commit e712bb5

Please sign in to comment.