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

Converting mmengine weight for models to pytorch state dicts? #783

Open
ayushnangia opened this issue Jun 26, 2024 · 0 comments
Open

Converting mmengine weight for models to pytorch state dicts? #783

ayushnangia opened this issue Jun 26, 2024 · 0 comments
Assignees

Comments

@ayushnangia
Copy link

I'm working on using some pretrained models from mmselfsup in a separate PyTorch project. However, I'm having trouble converting the mmengine-formatted weights to standard PyTorch state dicts.

Specifically:

Is there a recommended way to convert mmengine model weights to PyTorch state dicts?

Are there any gotchas or key differences to be aware of in the weight formats?

Is there existing utility code in mmselfsup or a related library to handle this conversion?

If not, would it be helpful to add such a conversion utility to mmselfsup?

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