Hey,
you were right. I’ve talked to the owner of that repo and he helped me understand the issue.
The problem was that I download the entire Places365 data set, which has 365 labels. However, he used only 7 labels. So after removing the unnecessary labels the code runs!
Thank you for the help