torchstat icon indicating copy to clipboard operation
torchstat copied to clipboard

GFLOPs of ResNet50

Open songqi-github opened this issue 4 years ago • 2 comments

When computing the GFLOPs of ResNet50, the answer is around 100GFLOPs. However, the result in other paper is around 500. Is there something wrong with your computing method?

songqi-github avatar Aug 10 '20 13:08 songqi-github

I meet the same problesms。

chenxingqiang avatar Nov 18 '22 03:11 chenxingqiang

ResNet-50 has 4.12 GFLOPs (i.e., 4.12 billion floating-point operations). See: https://mmclassification.readthedocs.io/en/latest/model_zoo.html.

I get this exact value when I take resnet50 from torchvision.models and calculate its FLOPs using this library.

saifkhichi96 avatar Sep 08 '23 16:09 saifkhichi96