pytorch-vsumm-reinforce icon indicating copy to clipboard operation
pytorch-vsumm-reinforce copied to clipboard

How to create user summary of custom video dataset and save it in H5 py file?

Open Swati640 opened this issue 4 years ago • 3 comments

Please explain, how to create the user summary and save it in the H5py file. I am able to create h5py file for my own video dataset but have no idea for user summary key for H5py file. Please help.

Swati640 avatar Sep 11 '19 20:09 Swati640

you can see here, I make some introduction code

First make datastes python video_forward2.py --makedatasets --dataset data_our/data_h5/data1.h5 --video-dir data_video/data1/ --frm-dir data_our/frames Second make score and generate summary python3 video_forward2.py --makescore --model log/summe-split0/model_epoch1000.pth.tar --gpu 0 --dataset data_our/data_h5/data2.h5 --save-dir logs/videolog/ \ --summary --frm-dir data_our/frames

Harryjun avatar Oct 31 '19 07:10 Harryjun

@Harryjun I think what you are explaining, that is machine summary and machine score. But I am asking for ground truth summary, which is mentioned as "user_summary" in h5py file. Please explain

Swati640 avatar Nov 02 '19 08:11 Swati640

Please refer Zhang, K., Chao, W.L., Sha, F., Grauman, K.: Video summarization with longshort-term memory. In: European conference on computer vision. pp. 766–782.Springer (2016). You can also refer my repo.I had implemented this project https://github.com/anaghazachariah/video_summary_generaton

anaghazachariah avatar Sep 16 '20 06:09 anaghazachariah