ai.djl.repository.zoo.ModelNotFoundException: No matching model with specified Input/Output type found in .jar #1220
kang120
started this conversation in
Deep Learning
Replies: 3 comments 1 reply
-
This most likely is related to
You might run into maven jar merge issue, see: #940 |
Beta Was this translation helpful? Give feedback.
1 reply
-
大佬 我今天也遇到这个问题了 代码在idea上正常的 能识别 但是我打包成jar包之后再运行 检测就报错:No matching model with specified Input/Output type found。 您是怎么解决的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
How you package your jar, please take a look our package example: https://github.com/deepjavalibrary/djl-demo/tree/master/development/fatjar |
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.
-
I have used the example code to run Object Detection.
Everything is fine when I compile and run with Eclipse.
However, when I export project to .jar file. When I execute .jar file, ModelNotFoundException is thrown.
I have added plugin to export maven project.
This is my ModelZoo definition
This is my pom.xml
Why this would happen?
Beta Was this translation helpful? Give feedback.
All reactions