Skip to content

How to add @get_local to a model where the weight is from torch.load() ? #14

@wansenwu

Description

@wansenwu

Hi Thanks for sharing your interesting work!
I just met a problem when I load a saved model from torch.load(), the architecture is fixed. So I can't add the @get_local before the definition and 'get_local.cache' returns None.
Do you have any ideas?

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