harvitronix / five-video-classification-methods

Code that accompanies my blog post outlining five video classification methods in Keras and TensorFlow
https://medium.com/@harvitronix/five-video-classification-methods-implemented-in-keras-and-tensorflow-99cad29cc0b5
MIT License
1.18k stars 478 forks source link

testlist01.txt #127

Closed alaa-Mz closed 5 years ago

alaa-Mz commented 5 years ago

why the dataset divided into multiple versions of testlist01.txt and trainlist01.txt? and if I have different dataset how I can make these txt files automatically which contains class name/file name/ class index? is there an easy way to make it?

as this : `as this:

ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c01.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c02.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c03.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c04.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c05.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c06.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g02_c01.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g02_c02.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g02_c03.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g02_c04.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g03_c01.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g03_c02.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g03_c03.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g03_c04.avi 1 ApplyEyeMakeup/v_ApplyEyeMakeup_g03_c05.avi 1`

thank you in advance,

harvitronix commented 5 years ago

The different versions just provide different ways to group your train/test videos. Ideally you'd want to test your model against each of the three splits to ensure it performs as expected. We only use the first one in our case.

If you have your own dataset, you just need to decide how you want to split them between train and test and then generate the paths. There's no real trick to it.