kracwarlock / action-recognition-visual-attention

Action recognition using soft attention based deep recurrent neural networks

Home Page:http://www.cs.toronto.edu/~shikhar/projects/action-recognition-attention

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get the h5 features file,how to create h5 features file

arcxianzhang opened this issue · comments

dataspace = H5S.create_simple( frames,[7 7 1024],{'H5S_UNLIMITED' 'H5S_UNLIMITED'} );
fid = H5F.create('train_features.h5','H5F_ACC_TRUNC', 'H5P_DEFAULT', 'H5P_DEFAULT');
dataset = H5D.create( fid,'features',H5T_IEEE_F32LE,dataspace);it is not to work by python,how to create h5 features file,