Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference of swin #4

Open
jinseok-karl opened this issue Jun 29, 2021 · 3 comments
Open

Difference of swin #4

jinseok-karl opened this issue Jun 29, 2021 · 3 comments

Comments

@jinseok-karl
Copy link

Hi, thanks for sharing code!
I'd like to try your code with mmsegmentation.
But I can't find which part is the different with original swin.
Shortly, I don't know where the diverse part is

Sincerely

@ChengyueGongR
Copy link
Owner

Hi,
The only difference is the ImageNet pretrained part. For segmentation, we only change the pretrained checkpoint.
We do not apply our loss for segmentation. The reason is that, semantic segmentation itself has already provided dense local labels.
We have uploaded some checkpoints for segmentation. Training SWIN on ImageNet uses a similar implementation as DeiT, and we will upload the code.

Yours,
Chengyue

@zz7379
Copy link

zz7379 commented Jul 6, 2021

Could you explain "The reason is that, semantic segmentation itself has already provided dense local labels." I am confused

@ChengyueGongR
Copy link
Owner

Hi,
one of our motivations is to provide local labels for each token. For segmentation, the local label is already very dense and therefore we do not add our regularization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants