Skip to content
Snippets Groups Projects
Unverified Commit e1277af2 authored by Patrick Labatut's avatar Patrick Labatut Committed by GitHub
Browse files

[bug] Fix interpolation of positional embeddings (#378)

Use size instead of scale factor to specify the output size of nn.interpolate(): this avoids any rounding issue leading to mismatching output size and consistently generate the same output size as with the previous kludge (from facebookresearch/dino#8).
parent 2302b6bf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment