Question of custom dataset inference! #2349
Unanswered
cory619-seungwon
asked this question in
Q&A
Replies: 0 comments
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, all.
I trained my custom dataset with anomalib patchcore.
Training was good.
However, when inferencing my evaluation images(total 42 images), the number of predictions is only 4.
So, there's deviation between the number of evaluation images & predictions now...
Error occured as "Mismatch between number of predictions (4) and images (42).".
I think "datamodule = Folder()" make my custom dataset split so, these error occurred..
What should I modify in my code to run inference on my custom dataset?
In short, how to inference only 1 image path?
I don't wanna split my custom dataset when inferencing evaluation data.
With this idea, I will make inference sever file to inference only 1 image_path when client_file send 1 image_path.
Let me share my code as below with several information.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions