BEVFormer icon indicating copy to clipboard operation
BEVFormer copied to clipboard

Calculate G_FLOPs

Open AnnieYu0401 opened this issue 3 years ago • 2 comments

Hi, could you share your code to calculate the GFLOPs. I try to use get_flops.py from mmdet3d to calculate, however, it doesn't work.

AnnieYu0401 avatar Jul 15 '22 07:07 AnnieYu0401

You should provide a dummy_metas for forward_dummy in https://github.com/zhiqi-li/BEVFormer/blob/master/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py#L140.

zhiqi-li avatar Jul 25 '22 13:07 zhiqi-li

Hello, thank for your work, but i want to know what the input_shape is, or which command do you run? can you show it for me? thx

admyxs avatar Jan 09 '24 06:01 admyxs