-
Notifications
You must be signed in to change notification settings - Fork 18
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
Any launching of model_resnet functions throws error "Error in !self$..refer_to_state_dict.. : invalid argument type" #100
Comments
Hi, I'm curious if this issue was addressed? Perhaps elsewhere? I am having the same issue. Some details on the R session:
|
I am also having this issue, but only if I launch a resnet model with |
I am having exactly the same issue:
|
Sorry, I can't reproduce the issue. I wonder if re-installing torchvision can fix the problem? |
So here's a way I could reproduce this issue:
TLDR the solution should be
|
Yes! It works. I should have tried as much.
Rich
…On Fri, Mar 1, 2024 at 9:16 AM Daniel Falbel ***@***.***> wrote:
So here's a way I could reproduce this issue:
- Install an old torch version, eg remotes::install_version("torch",
version="0.10.0")
- Install torchvision
- Loading the model works.
- Update to a recent version. Breaks torchvision, loading no longer
works
- Re-Install torchvision from CRAN binaries. Doesn't work too
- Install torchvision from source: install.packages("torchvision",
type = "source") works.
TLDR the solution should be
install.packages("torchvision", type = "source")
—
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC6H5RWQ6WYVJXAEPSLEJLYWCESPAVCNFSM6AAAAAA3JXYI7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGI4DENJWGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Any launching of model_resnet functions throws error "Error in !self$..refer_to_state_dict.. : invalid argument type"
Seems like some piece of reference information is missed in models.
The text was updated successfully, but these errors were encountered: