在Pytorch中计算自己模型的FLOPs方式 https://github.com/Lyken17/pytorch-OpCounter安装方法很简单:pipinstallthop基本用法:fromtorchvision.modelsi FLOPs