chaoyuaw / pytorch-coviar

Compressed Video Action Recognition
https://www.cs.utexas.edu/~cywu/projects/coviar/
GNU Lesser General Public License v2.1
500 stars 126 forks source link

Encode videos to another gop, how to adjust coviar_data_loader #55

Open Esaada opened 5 years ago

Esaada commented 5 years ago

Hi, I want to use gop = 16 ,I'm changing reencode.sh to eencode with " -g " , and I know that the data_loader doesn't like that (got segmentation fault), do you have any clue to give me, how to adjust this c file to support gop = 16, or a least where may be a problem?

Thanks, Barak.

chaoyuaw commented 5 years ago

Hi sorry for the late reply!

Did you modify https://github.com/chaoyuaw/pytorch-coviar/blob/master/dataset.py#L20 accordingly? I thought the c file should be fine with a different GoP size.