Python Image Classification Code 8017 Shepherd