What is the difference between the two ways of accessing the hdf5 group in SVHN dataset?
First, there is a minor difference in output from your 2 methods. Method 1: returns the full array (of the encoded file name) Method 2: only returns the first element (character) of the array Let’s deconstruct your code to understand what you have. The first part deals with h5py data objects. f[‘digitStruct’] -> returns a … Read more