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

Make classifier backbone dynamic maskformer, mask2former #24244

Closed
tanzzilaalam opened this issue Jun 13, 2023 · 3 comments · Fixed by #24259 or #24532
Closed

Make classifier backbone dynamic maskformer, mask2former #24244

tanzzilaalam opened this issue Jun 13, 2023 · 3 comments · Fixed by #24259 or #24532
Labels
Feature request Request for a new feature

Comments

@tanzzilaalam
Copy link

tanzzilaalam commented Jun 13, 2023

Feature request

Make classifier backbone dynamic maskformer, mask2former. Currently it only supports swin transformer.

link example: https://github.com/huggingface/transformers/blob/main/src/transformers/models/mask2former/modeling_mask2former.py#L1393

Motivation

If this feature request successful, it will help to benchmark for new clasifier easily.

@tanzzilaalam
Copy link
Author

tanzzilaalam commented Jun 27, 2023 via email

@sgugger
Copy link
Collaborator

sgugger commented Jun 27, 2023

cc @amyeroberts

@amyeroberts
Copy link
Collaborator

Hi @tanzzilaalam, you're completely right. I've opened a PR - #24532 - which should resolve this and allow you to pass in any backbone_config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature
Projects
None yet
3 participants