You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems in flops_counter.py, multiplication and addition are treated as one operation. So I think it is calculating MAC rather than FLOPs? I think n MAC refers to n multiplication and (n-1) addition operations.
May I ask what's the usual way to calculate FLOPs?
The text was updated successfully, but these errors were encountered:
Hi! There is no problem here: actually, everywhere variables named flops are handled as macs (ref). But for most CV tasks, we identify FLOPs with MACs.
Hi! There is no problem here: actually, everywhere variables named flops are handled as macs (ref). But for most CV tasks, we identify FLOPs with MACs.
Shouldn't FLOPs = 2* MACs. I am totally lost here. Should we just use the output macs to get flops, or we need multiply it by 2
It seems in flops_counter.py, multiplication and addition are treated as one operation. So I think it is calculating MAC rather than FLOPs? I think n MAC refers to n multiplication and (n-1) addition operations.
May I ask what's the usual way to calculate FLOPs?
The text was updated successfully, but these errors were encountered: