Printing the class value of the image