-
Notifications
You must be signed in to change notification settings - Fork 856
Closed
Labels
EnhancementNew feature or requestNew feature or request
Description
Hey,
we are using this code, which works fine:
dataset = PredictDataset(image_path)
dataloader = DataLoader(dataset, num_workers=15)
model = get_model("Patchcore")
output = engine.predict(
model=model,
ckpt_path=model_path,
dataloaders=[dataloader],
)
The output contains everything I expect, everything is fine.
But:
I have a lot of pictures, I want to analyze - and performance matters:
- Therefore, it would be great if I was able to load the model only once and use it for multiple images.
- It would be great to avoid generating the debug picture (containing the heat map, mask etc).
I am sure I am missing a simple way to achieve this. Any help appreciated ;-)
luizfelippesr
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request