Exporting to torchscript scripting fails with type error? #3061
Unanswered
michaellee1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It seems you're using the latest (github master) version of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using the
export_scripting
function from export_model.py, but running into the following error when callingexported_model = export_scripting(torch_model)
I ran some sample inputs through my torch model to make sure that get_fields was available after inference through my torch model.
and this ran with no problem and printed the result of get_fields.
Can someone lead me to the solution here? How can I change the type of instances to include this method?
Beta Was this translation helpful? Give feedback.
All reactions