Cream icon indicating copy to clipboard operation
Cream copied to clipboard

How to get the Flops of AutoFormer ?

Open shadowpa0327 opened this issue 3 years ago • 1 comments

Hi, first thanks for the nice work! It's really interesting,

Currently, I did like to calculate the flops of AutoFormer subnet, however, when I use flops_count in fvcore.nn that you suggest in other issue, I could not get the proper result.

Is there any other way to get the calculation of the Flops?

Best regard

shadowpa0327 avatar May 20 '22 16:05 shadowpa0327

Hi, thanks for your interest in our work. We write a function called get_complexity to calculate the Flops. After you have set the subnet, you can use this function to get the Flops of the subnet.

nbl97 avatar Aug 11 '22 06:08 nbl97