Replies: 1 comment
-
Hi @EricHuiK, can you please set the anomalib will then create the torch model rather than the lightning 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
Uh oh!
There was an error while loading. Please reload this page.
-
What is the motivation for this task?
python tools/inference/torch_inference.py
--weights /disk4t/workspace/code/anomalib-main/results/fastflow/mvtec/bottle/run/weights/lightning/model-v7.ckpt
--input /disk4t/workspace/data/mvtec-ad/bottle/test/contamination/019.png
--output /disk4t/workspace/data/val_bottle
--device cuda:0
--task segmentation
--visualization_mode full
Describe the solution you'd like
model = torch.load(path, map_location=self.device)["model"] KeyError: 'model
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions