KaiyangZhou / vsumm-reinforce

AAAI 2018 - Unsupervised video summarization with deep reinforcement learning (Theano)
MIT License
137 stars 36 forks source link

How to read h5 format files ?? #30

Closed anbuharry closed 3 years ago

anbuharry commented 3 years ago
import h5py
filename = "eccv16_dataset_summe_google_pool5.h5"
f = h5py.File(filename, "r")
for key in f.keys():
    print(key) #Names of the groups in HDF5 file
f.close()

use this code to read the given H5 file