-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'anomaly_maps' #371
Comments
Hi @igsing, thanks for reporting this. We'll investigate this and give you an update here |
I am getting the same error when I try to train a custom model. Error Message: 2022-07-11 11:24:07,585 - anomalib.utils.loggers - INFO - Loading the experiment logger(s)
|
Training fails with "KeyError: 'anomaly_maps'" for all the classification models (DFM, DFKDE, GANomaly). The failure is during testing stage, e.g.:
python tools/train.py --model dfm
...
Testing DataLoader 0: 0%|
...
File "/home/zingman/code/python_local/anomalib/anomalib/utils/callbacks/visualizer_callback.py", line 132, in on_test_batch_end
outputs["anomaly_maps"],
KeyError: 'anomaly_maps'
Testing DataLoader 0: 0%| | 0/3 [00:00<?, ?it/s]
The repository was cloned on 13 June.
The text was updated successfully, but these errors were encountered: