Replies: 1 comment
-
torchscript model is used for inference only. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I was wondering why it is not possible today to train a model from detectron2 after an export in scripting / tracing mode ?
In this page there is this assert:
And on this page about Tracing Adapter, the forward method is using
with torch.no_grad()
. Maybe it is possible to replace this forward method to enable training ?Thanks
Beta Was this translation helpful? Give feedback.
All reactions