pytorch-vsumm-reinforce
pytorch-vsumm-reinforce copied to clipboard
How to create user summary of custom video dataset and save it in H5 py file?
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.
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 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
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