WongKinYiu / CrossStagePartialNetworks

Cross Stage Partial Networks
https://github.com/WongKinYiu/CrossStagePartialNetworks
894 stars 172 forks source link

FLOPs mismatch across different frameworks. #31

Open mu-cai opened 4 years ago

mu-cai commented 4 years ago

Hi @WongKinYiu

Thanks for your answer to my previous question. However, I found severe FLOPs mismatch in your paper and darknet paper @AlexeyAB .

For example, as for ResNet50, the original paper states that the FLOPs is around 3.8 to 4.0 G FLOPs. However, in your paper, it is 9.74 BFLOPs. So there is a big difference. I found maybe there is a ratio of 2.59 around them, right?

WongKinYiu commented 4 years ago

hello, in original paper, they use mul-add with 224x224. real FLOPs usually will be two times as mul-add.

darknet use real FLOPs with 256x256. so FLOPs should be 2(256*256)/(224\224) = 2.61 times when compare to mul-add with 224x224.

mu-cai commented 4 years ago

Thanks for your answer! @WongKinYiu Your answers are always nice and accurate!