Classifying model using labeled images error

how can i get rid of this issue
i have also tried the folder approach
but that also does not seem to be working