HRFormer icon indicating copy to clipboard operation
HRFormer copied to clipboard

Question about flops count

Open shuimushan opened this issue 3 years ago • 0 comments

I ran the run_flops.dist and got the warnings below:

WARNING:root:Skipped operation aten::layer_norm 76 time(s) WARNING:root:Skipped operation aten::mul_ 152 time(s) WARNING:root:Skipped operation aten::gelu 114 time(s) WARNING:root:Skipped operation aten::upsample_nearest2d 22 time(s) WARNING:root:Skipped operation aten::upsample_bilinear2d 22 time(s) WARNING:root:Skipped operation aten::avg_pool2d 1 time(s)

the flops for hrt_tiny was indeed 1.83G though So does it mean that the operations in the warnings should not be considered when calculating flops?

shuimushan avatar Jan 21 '22 11:01 shuimushan