Skip to content

Commit

Permalink
Update models_milan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zejiangh authored Aug 16, 2022
1 parent 08cc056 commit 677c981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models_milan.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(self, img_size=224, patch_size=16, in_chans=3,
if use_clip is False:
self.decoder_pred = nn.Linear(decoder_embed_dim, patch_size**2 * in_chans, bias=True) # decoder to patch
else:
self.decoder_pred = nn.Linear(decoder_embed_dim, 768, bias=True) # clip output [batch x seq x 512]
self.decoder_pred = nn.Linear(decoder_embed_dim, 512, bias=True) # clip output [batch x seq x 512]
# --------------------------------------------------------------------------

self.norm_pix_loss = norm_pix_loss
Expand Down

0 comments on commit 677c981

Please sign in to comment.