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 calculate Params on its model #56

Open
IgnacioTsai opened this issue May 13, 2021 · 0 comments
Open

How to calculate Params on its model #56

IgnacioTsai opened this issue May 13, 2021 · 0 comments

Comments

@IgnacioTsai
Copy link

As the README.md said:

Yolo-Fastest-1.1-xl has 0.925M Params, but I don't get it how to calculate it?
If the model has been build on keras, I can use API model.summary() to get parameters.
But I don't know how to calculate automatically in darknet based framework.

I try to follow the step manually on Internet.
Conv = filter * kernel-width * kernel-high * output channel
Depthwisth = filter * kernel-width * kernel-high
Route = filter

I load Yolo-Fastest-1.1-xl.cfg weight to see each layer's information and calculate manually.
But I get my parameters about 1.88M.

Does anything wrong on my calculation? Could someone else provide the solution how to calculate the parameters of model?

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