Use of SVHN/train_32x32.mat database

Post Reply
Posts: 1
Joined: Wed May 29, 2019 8:11 pm

Use of SVHN/train_32x32.mat database

Post by aaa »

I don't understand using the train_32x32.mat database for the CNN course without preprocessing to remove left and right edges. A lot of the 32x32 pictures contain more than one number, but the designated label is the digit which has been placed in the center of the image even if the image contains other perfectly legible digits. Since CNNs are supposed to be insensitive to translations, a picture which contains, for example "318" is labelled as "1" because the "1" is in the center but both "3" and "8" are perfectly reasonable labels (see class 1 image 3). There are also a fair number of images with the central digit less legible than the digit beside it and in that case the "best-looking" digit is not the class label (see class 7 image 3).
Site Admin
Posts: 60
Joined: Sat Jul 28, 2018 3:46 am

Re: Use of SVHN/train_32x32.mat database

Post by lazyprogrammer »

Thanks for your question!

That's actually fine because the CNN is learning where to look.

For example, a CNN that may recognize a dog in an imagine that also contains a tree.
Post Reply

Return to “Deep Learning: Convolutional Neural Networks in Python”