mchengny / RWF2000-Video-Database-for-Violence-Detection

A large scale video database for violence detection, which has 2,000 video clips containing violent or non-violent behaviours.
402 stars 85 forks source link

How to train model using dynamic crop? #17

Open lamnguyenvu98 opened 2 years ago

lamnguyenvu98 commented 2 years ago

dynamic crop function returns a tensor with shape (64, 112, 112, 5) while model expects input with shape (64, 224, 224, 5). Do you use any other processing technique before feed data into model? Currently I'm using cv2.resize to resize each frame from 112 to 224. Is it a right approach? In the paper, did you use dynamic crop to achieve 87% accuracy?