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 obtain parameters in your code. #86

Open
yuheyuan opened this issue Feb 19, 2024 · 0 comments
Open

How to obtain parameters in your code. #86

yuheyuan opened this issue Feb 19, 2024 · 0 comments

Comments

@yuheyuan
Copy link

Hi, I am particularly intrigued by the table you provided regarding the model parameters. I'm interested in understanding how these parameters were obtained. Could you please share the method or tool you used to calculate the model parameters? This would greatly assist me in my learning and comprehension.

Thank you for your time and consideration. I look forward to your response.

[
image

I try those methods to get the parameters in your code. But I can't get the 3.7M params in your table7.

flops, params = profile(model, inputs=(input, ))
print(flops/1e9, params/1e6) 
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