kracwarlock / action-recognition-visual-attention

Action recognition using soft attention based deep recurrent neural networks
http://www.cs.toronto.edu/~shikhar/projects/action-recognition-attention
350 stars 157 forks source link

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

Open arcxianzhang opened 7 years ago

arcxianzhang commented 7 years ago

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,