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

How to calcalate the Trainable params in Mona? #3

Open
aulaywang opened this issue Dec 21, 2023 · 0 comments
Open

How to calcalate the Trainable params in Mona? #3

aulaywang opened this issue Dec 21, 2023 · 0 comments

Comments

@aulaywang
Copy link

aulaywang commented Dec 21, 2023

Hi author, it seems that the trainable params in Mona is hard to calculate. We have tried torchsummary, but it didn't work.
For example, we use torchsummary to calculate the Swin Transformer Tiny and the result is:

Total params: 28,265,032
Trainable params: 28,265,032
Non-trainable params: 0
Input size (MB): 0.57
Forward/backward pass size (MB): 252.99
Params size (MB): 107.82
Estimated Total Size (MB): 361.39

We hope the Mona can add the similar function for precise comparison. Thanks!

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

1 participant