You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i followed the operation in the README.md, but when i run the sis_datareader.py
i get the error. it seems the alexnet_image_features.hdf5 is corrupted.
Unable to open file (truncated file: eof = 96, sblock->base_addr = 0, stored_eof = 2048)
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 281, in get_image_features_hash
image_features_file = h5py.File(file_name, 'r')
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 113, in sentences_to_index
img_hash = self.get_image_features_hash(image_embedding_file)
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 295, in
object.sentences_to_index()
The text was updated successfully, but these errors were encountered:
i followed the operation in the README.md, but when i run the sis_datareader.py
i get the error. it seems the alexnet_image_features.hdf5 is corrupted.
the function is:
def get_image_features_hash(self, file_name):
Unable to open file (truncated file: eof = 96, sblock->base_addr = 0, stored_eof = 2048)
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 281, in get_image_features_hash
image_features_file = h5py.File(file_name, 'r')
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 113, in sentences_to_index
img_hash = self.get_image_features_hash(image_embedding_file)
File "/data/cbw/ai-visual-storytelling-seq2seq-master/data_reader/sis_datareader.py", line 295, in
object.sentences_to_index()
The text was updated successfully, but these errors were encountered: