# -*- coding: utf-8 -*- """ Created on Mon Nov 12 20:55:48 2018 @author: fdrea """ import numpy as np import h5py ''' f = h5py.File("./train.h5") ls = list(f) #print('list of dataset in this file: \n', ls) #f['data'].shape f.close() ''' f = h5py.File("./train.h5", 'r') ls = list(f.keys()) f.close()