yan-hao-tian / ConTNet

This repo contains the code of "ConTNet: Why not use convolution and transformer at the same time?"

Home Page:https://arxiv.org/abs/2104.13497

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questions about margin padding

Simon-Stma opened this issue · comments

I am very interested in your work, when applying on fasterrcnn, I saw the margin padding for images with different resolutions (not divisible by patch_size) as you mentioned in the paper, I didn't find the corresponding content in your code, I hope you can elaborate on how to do it.