Skip to content

Exception size mismatch, m1: [4 x 12288], m2: [512 x 11] at  #6

@vench

Description

@vench

Thanks a lot for your work.

I am using code call

model = resnet.ResNet34(num_classes=len(dataimages.label_str)) // len(dataimages.label_str) == 11

But I get this message

size mismatch, m1: [4 x 12288], m2: [512 x 11] at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:283__

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions