AnomalyDetectionCVPR2018-Pytorch icon indicating copy to clipboard operation
AnomalyDetectionCVPR2018-Pytorch copied to clipboard

Run Video_demo from extracted feature, not by feature extractor

Open Dev-ori opened this issue 3 years ago • 1 comments

Hi, :)

I'm trying to running 'video_demo.py' Not using the 'Feature extractor', but using 'extracted features'

Because I want to implement i3d to your project, BUT I only have I3D-extracted-UCF-Crime-features(.npy files by clip)

So, in conclude, I want to try following methods.

"Skip the feature extractor and feature method argument in the 'video_demo.py' and just give them extracted feature and ad_model."

Is there any suggestion or guideline to modify the code to do that? or Is it could be even possible ?

Dev-ori avatar Sep 16 '22 08:09 Dev-ori

This is possible. It would require calling a dedicated function in line 238 of video_demo.py, instead of calling features_extraction.

ekosman avatar Sep 25 '22 10:09 ekosman

@Dev-ori

I added this new feature now. You can simply load a feature file after you load a video: תמונה תמונה תמונה תמונה תמונה

Enjoy!

ekosman avatar Dec 16 '22 19:12 ekosman

@Dev-ori

I added this new feature now. You can simply load a feature file after you load a video: תמונה תמונה תמונה תמונה תמונה

Enjoy!

This is awesome ! Santa . good luck!

Dev-ori avatar Dec 19 '22 01:12 Dev-ori