cfchen-duke/ProtoPNet

Augmentor Error

Opened this issue · 2 comments

I tried to reproduce this code. However, an error occurred in "img_aug.py". The error is listed as follows.

raise IndexError("There are no images in the pipeline. "
IndexError: There are no images in the pipeline. Add a directory using add_directory(), pointing it to a directory containing images.

I tried to reproduce this code. However, an error occurred in "img_aug.py". The error is listed as follows.

raise IndexError("There are no images in the pipeline. " IndexError: There are no images in the pipeline. Add a directory using add_directory(), pointing it to a directory containing images.

Hi, I had a similar problem and in my case, changing the path from relative path to absolute path when initializing "dataset_root_dir" solved this problem. Hope this helps!

The above solution doesn't work for me.