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

flops and params for detection tools #12

Open
jiangzhengkai opened this issue Nov 12, 2022 · 1 comment
Open

flops and params for detection tools #12

jiangzhengkai opened this issue Nov 12, 2022 · 1 comment

Comments

@jiangzhengkai
Copy link

Hi, Thanks for your great work. I wonder would you share the tools for calculating flops and parameters for detection?

@xwjabc
Copy link
Contributor

xwjabc commented Nov 13, 2022

Hi @jiangzhengkai, thank you for your interest! We basically used a modified version of the FLOPs calculation script from mmcv, following whai362/PVT#27 (the calculation for attention part is modified accordingly). Parameters are simply counted from the items model.parameters(). Due to some other on-going affairs we have not updated the tools for flops and parameters yet. Stay tuned or you can try to calculating by yourself!

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