SamsungLabs / imvoxelnet

[WACV2022] ImVoxelNet: Image to Voxels Projection for Monocular and Multi-View General-Purpose 3D Object Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to calculate the total number of model parameters and floating point calculation?

ToTensor opened this issue · comments

How to calculate the total number of model parameters and floating point calculation?

sum(p.numel() for p in model.parameters() if p.requires_grad)

Something like this should work near this line? I'm not sure about a good method for calculating flops(