Mode Block is null after loading from pretrained model file? #1778
Unanswered
anasbinwaquar
asked this question in
Q&A
Replies: 1 comment
-
You need load the model:
|
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
-
I'm trying to run a PyTorch model which I trained on Python. I'm trying to run it in java to see speed differences whether it's any faster or not. I converted the model to Torchscript via this script.
Now in Java when I load the model using this code Snippet it still shows the model Block is null
Does DJL not support User-defined PyTorch models?
Beta Was this translation helpful? Give feedback.
All reactions