CADDM icon indicating copy to clipboard operation
CADDM copied to clipboard

Request for Dedicated Inference Script for Individual Video Files and Guidance on Usage

Open hellogeraldblah opened this issue 1 year ago • 1 comments

Hello,

Is there a script available for running inference on individual video files, separate from evaluating datasets using test.py?

Currently, test.py relies heavily on DeepfakeDataset and requires the use of a dataset for evaluation. I would like to request a dedicated script for running inference on individual video files or perhaps some guidance on how to proceed.

For instance, it would be helpful to have an inference script that can be executed using the following command: python3 test.py test_video.mp4 --config caddm_test.cfg

and output to be:

Inference results for test_video.mp4:
Frame predictions: [0.823, 0.567, 0.912, 0.187, ...]
Average prediction: 0.654

Are there any plans for this?

hellogeraldblah avatar May 19 '23 05:05 hellogeraldblah