Add encoder_num_hidden_layers=24 to config

#3
by kashif HF Staff - opened

The dinov2-large encoder has 24 hidden layers (not the default 12). Without this config param, from_pretrained creates a 12-layer encoder and discards half the checkpoint weights.

VISIONx @ NYU org

Thanks!

bytetriper changed pull request status to merged
bytetriper deleted the refs/pr/3 ref

Sign up or log in to comment