Skip to content

Hugging Face Github missmatch #1

@JK-rez

Description

@JK-rez

model_loader.py in Hugging Face and GitHub are different, with github version containing code that will run when importing the class.
There is also no import torch.nn as nn in either version, making net.classifier[2] = nn.Identity() fail.

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