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

About DRS training #4

Closed
adf1178 opened this issue Apr 16, 2021 · 2 comments
Closed

About DRS training #4

adf1178 opened this issue Apr 16, 2021 · 2 comments

Comments

@adf1178
Copy link

adf1178 commented Apr 16, 2021

Hello! Thanks for your contribution. I have such questions:
The DRS strategy described in Decoupling representation and classifier for long-tailed recognition is that: first train whole network for 90 or 200 epochs, then freeze the backbone and re-initialize a classifier and train. But the DRS strategy in the code is just to change a different sampler? or I just misunderstand the code?

@zhangyongshun
Copy link
Owner

Thanks for your question!
"But the DRS strategy in the code is just to change a different sampler?": Yes, the DRS in our codes is just to change the sampler from the default sampler to a balanced sampler.
The details of DRS are firstly described in LDAM Loss (https://arxiv.org/pdf/1906.07413.pdf), and firstly introduced in Large Scale Fine-Grained Categorization and Domain-Specific Transfer Learning (https://arxiv.org/pdf/1806.06193.pdf), where the backbone is opened in the second stage in DRS.
I think Decoupling Representation shows another way to explore the balance between the backbone and classifier, and it is different with DRS. Besides, I think Decoupling Representation can be seen as a post-processing trick rather than a DRS method.

@adf1178
Copy link
Author

adf1178 commented Apr 16, 2021

Thanks for your question!
"But the DRS strategy in the code is just to change a different sampler?": Yes, the DRS in our codes is just to change the sampler from the default sampler to a balanced sampler.
The details of DRS are firstly described in LDAM Loss (https://arxiv.org/pdf/1906.07413.pdf), and firstly introduced in Large Scale Fine-Grained Categorization and Domain-Specific Transfer Learning (https://arxiv.org/pdf/1806.06193.pdf), where the backbone is opened in the second stage in DRS.
I think Decoupling Representation shows another way to explore the balance between the backbone and classifier, and it is different with DRS. Besides, I think Decoupling Representation can be seen as a post-processing trick rather than a DRS method.

Got it! Thanks again for your Patient and timely reply!

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

2 participants