Stark
Stark copied to clipboard
What is the role of adjust function?
Hi, why do you use the function adjust after backbone? Can we directly input it into the transformer without any adjustment
Hi, the role of adjust is to (1) reduce the number of channels (typically from 1024 to 256) (2) add positional encoding, which is needed by Transformer (3) add "padding mask" to indicate where is the image and where is padding.