-
Notifications
You must be signed in to change notification settings - Fork 19
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
About FLOPs #5
Comments
Hi, please refer mmcv flops count
https://github.com/open-mmlab/mmcv/blob/master/mmcv/cnn/utils/flops_counter.py
AFeng ***@***.***> 于2022年4月24日周日 17:09写道:
… Good work!And I wanna know how you calculate FLOPs of the model in your
paper? Thanks!!!
—
Reply to this email directly, view it on GitHub
<#5>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP7CCFHPL52SIGJ4XE2WJTVGUFVPANCNFSM5UF6YBBA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I remember that the mmcv FLOPs count does not support attention calculation, which will lead to lower FLOPs. I suggest tot use |
Yes, we need to manually calculate the flops of Attention but it is not
very large with the input of 224x224.
Kunchang Li ***@***.***> 于2022年5月28日周六 02:35写道:
… I remember that the mmcv FLOPs count does not support attention
calculation, which will lead to lower FLOPs. I suggest tot use fvcore as
in our UniFormer
<https://github.com/Sense-X/UniFormer/blob/ac62a49b40b79e614501905ad2f1c19bd4dcf12e/image_classification/main.py#L258-L259>
.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP7CCCR6VQRQJWDPEGLPI3VMEIVLANCNFSM5UF6YBBA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good work!And I wanna know how you calculate FLOPs of the model in your paper? Thanks!!!
The text was updated successfully, but these errors were encountered: