据说yolov5
原来的FLOPS
计算脚本有bug,因此这个大神推荐使用thop
库进行计算,代码如下:
input = torch.randn(1, 3, 416, 416)
flops, params = thop.profile(model, inputs=(input
据说yolov5
原来的FLOPS
计算脚本有bug,因此这个大神推荐使用thop
库进行计算,代码如下:
input = torch.randn(1, 3, 416, 416)
flops, params = thop.profile(model, inputs=(input