Skip to content

AttributeError: 'dict' object has no attribute 'pretrained_resource' #34

@chaoji90

Description

@chaoji90

AttributeError: 'dict' object has no attribute 'pretrained_resource' occurred when I executed model = PatchFusion.from_pretrained(model_name).to(DEVICE).eval()
It looks like the dictionary is accessed through dots. Any suggestions on how to deal with it? Is it a version problem?

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