Is it possible to do batchprocessing on anomalib models, especially patchcore? #591
-
If possible, could someone tell me how can it be done? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@amal-r1 can you clarify what do you mean by batch processing? |
Beta Was this translation helpful? Give feedback.
-
I would like to pass multiple images to the model at the same time and get inference from them simultaneously. |
Beta Was this translation helpful? Give feedback.
-
This might address your usecase https://github.com/openvinotoolkit/anomalib/blob/main/tools/inference/lightning_inference.py. You can change the batch size in the Dataloader (line 70). |
Beta Was this translation helpful? Give feedback.
This might address your usecase https://github.com/openvinotoolkit/anomalib/blob/main/tools/inference/lightning_inference.py. You can change the batch size in the Dataloader (line 70).