Henryy-rs / top-k-Ranking-Loss

UCF-Crime-Anomaly-Detection
3 stars 0 forks source link

How do I test the model on a live video? #2

Open tanisha1112 opened 2 years ago

tanisha1112 commented 2 years ago

Hi, I'm new to i3d model and I am building a vandalism detection system on live video. After training, how do I load the model to test it on 16 frames of the video? Thank you.

Henryy-rs commented 2 years ago

Hi @tanisha1112, If you try to test on live video, see the code here.

https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch/blob/79ef3d413cb0be49272aa97aab33ff96d83b97ae/AD_live_prediction.py#L94