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

support mmrazor prune #666

Closed
Hiwyl opened this issue Jun 28, 2022 · 7 comments
Closed

support mmrazor prune #666

Hiwyl opened this issue Jun 28, 2022 · 7 comments
Assignees

Comments

@Hiwyl
Copy link

Hiwyl commented Jun 28, 2022

Describe the feature

export onnx with classification weights by mmrazor prune, but get the weights has same size as not pruned weights

@AllentDan
Copy link
Member

Hi, I saw your PR in MMRazor here. Is it solved?

@AllentDan AllentDan self-assigned this Jun 30, 2022
@Hiwyl
Copy link
Author

Hiwyl commented Jun 30, 2022

Hi, I saw your PR in MMRazor here. Is it solved?

mmrazor split checkpoints solved, but with mmdeploy export onnx‘s model size equal by #220

@AllentDan
Copy link
Member

equal

Hi, thanks for reporting it. We've already located the bug and mmrazor will fix it soon.

@Hiwyl
Copy link
Author

Hiwyl commented Jul 1, 2022

Hi, thanks for reporting it. We've already located the bug and mmrazor will fix it soon.

thank you, If the cycle is long, can I fix it, or where is the problem?

@AllentDan
Copy link
Member

AllentDan commented Jul 1, 2022

Seems the methods of MMRazor update the model by changing the attribute of the nn.Module which is not updated to ONNX when exporting. They will renew a new model which is safer in the upcoming codes.

@Hiwyl
Copy link
Author

Hiwyl commented Jul 1, 2022

Thank you

@AllentDan
Copy link
Member

You are welcome.

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