Skip to content

Total mult-adds rendered as MEGABYTES #350

Open
@bjourne

Description

MWE:

from torchvision.models import *
summary(AlexNet(), input_size = (1, 3, 227, 227), device = "cpu")
...
Non-trainable params: 0
Total mult-adds (Units.MEGABYTES): 717.27

It writes "(Units.MEGABYTES)" but it should write "(M)" instead. Same for larger models where it writes "Units.GIGABYTES" instead of "G".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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