Closed zhang-yuxian closed 7 months ago
I used the ptflops library to calculate FLOPs and Param, but the FLOPs values differ significantly from the paper. So how do I calculate the FLOPs(G) and Param(M) in the code?
We calculate the FLOPs manually. You could consider using thop package for calculation.
I used the ptflops library to calculate FLOPs and Param, but the FLOPs values differ significantly from the paper. So how do I calculate the FLOPs(G) and Param(M) in the code?