Skip to content

Question about counting the parameter number and FLOPs #12

@gyguo

Description

@gyguo

I counted the parameter number and FLOPs of MFNet, the
parameter number is computed by the code

model = MFNET_3D(num_classes=101)
params = sum(p.numel() for p in model.parameters())

outputs a same result 7996368 as shown in the paper: 8.0 M.

But the FLOPs I got is different from the result in the paper, so whether you can show me the code you compute the FLOPS, especially for the nn.Conv3d layer, I think I made some mistake of computing the FLOPS of nn.Conv3d layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions