KaiyangZhou / vsumm-reinforce

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

How do I apply to my video files? #31

Closed anbuharry closed 3 years ago

anbuharry commented 3 years ago

Can anyone help out by creating a dataset for my own data I don't know how to do that? but I have all these inside the format

video_names is a list of strings containing the

name of a video, e.g. 'video_1', 'video_2'

for name in video_names: f.create_dataset(name + '/features', data=data_of_name) f.create_dataset(name + '/gtscore', data=data_of_name) f.create_dataset(name + '/user_summary', data=data_of_name) f.create_dataset(name + '/change_points', data=data_of_name) f.create_dataset(name + '/n_frame_per_seg', data=data_of_name) f.create_dataset(name + '/n_frames', data=data_of_name) f.create_dataset(name + '/picks', data=data_of_name) f.create_dataset(name + '/n_steps', data=data_of_name) f.create_dataset(name + '/gtsummary', data=data_of_name) f.create_dataset(name + '/video_name', data=data_of_name)

f.close()