To run the notebook do
git clone git@github.com:toon-vc/anomalib-demo.git
poetry install
poetry run jupyter notebook
and make sure the 'B. Disease Grading.zip' from the IDRiD dataset is in the data folder.
Anomalib requires a set of abnormal images for each model training, which it uses for threshold tuning and evaluation (see this github issue). They are working on allowing trainings without any abnormal images, in the meantime I have applied a temporary change in this fork which skips reading the abnormal images dir after which everything works as expected and models can be trained with only normal ones.