Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wansenwu opened this issue Nov 5, 2022 · 0 comments

Comments

@wansenwu
Copy link

wansenwu commented Nov 5, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant