Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

ir_csn_152 size mismatch: Error(s) in loading state_dict for VideoResNet #129

@KhHTran

Description

@KhHTran

I follow the installation guide to install VMZ locally. When I try to load the pretrained ir_csn_152 model to PyTorch:
from vmz.models import ir_csn_152
model = ir_csn_152(pretraining="ig65m_32frms")
I received an error saying that there is a size mismatch with fc.weight and fc.bias. I assumed this is a bug where the finetuned model was given the pretrained model weights or vice versa.
image

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