I noticed that ImageFolder can process following structure:
root/dog/xxx.png
root/dog/xxy.png

root/cat/123.png
root/cat/asd932_.png

My question is, can it process a deeper /nested folder structure? e.g.:
root/mammal/dog/xxx.png
root/mammal/cat/xxy.png

root/avian/pigeon/123.png
root/avian/crow/nsdf3.png

If yes, would the classes be “mammal, avian”, or would they be “dog, cat, pigeon, crow”?
Thanks!