L_10_dcmh = sio.loadmat("nus-wide-tc10-lall.mat")["LAll"] T_21_dcmh = sio.loadmat("nus-wide-tc21-yall.mat")["YAll"] T_10_dcmh = h5py.File("nus-wide-tc10-yall.mat")["YAll"][:].T.astype(np.int) print(L_21_dcmh.shape, L_10_dcmh.shape, T_21_dcmh.shape, ...