davide-coccomini / Combining-EfficientNet-and-Vision-Transformers-for-Video-Deepfake-Detection

Code for Video Deepfake Detection model from "Combining EfficientNet and Vision Transformers for Video Deepfake Detection" presented at ICIAP 2021.
https://dl.acm.org/doi/abs/10.1007/978-3-031-06433-3_19
MIT License
239 stars 60 forks source link

data set #15

Closed zhuzhen1996 closed 2 years ago

zhuzhen1996 commented 2 years ago

Hello, does your preprocessing code support using only the FaceForensics++ dataset?When I run your code for detecting faces, I get the above error image This is where my dataset is stored 1645753754(1)

davide-coccomini commented 2 years ago

Could you please show me the whole error log and the complete used command?

zhuzhen1996 commented 2 years ago

Because I am currently running on the Windows system, I inquired about the relevant information, which may be caused by the parameters in the dataloader. 1645950288(1) The incoming parameter collate_fn uses a lambda expression

zhuzhen1996 commented 2 years ago

I want to understand, I input the command to process the dataset FaceForensics++ alone, and your code doesn't seem to run.

zhuzhen1996 commented 2 years ago

I switched to a linux system and re-run your code. The following error occurred image 1645950856(1)

davide-coccomini commented 2 years ago

Could you please send me the screen of the exact command you run and the data folder content?

zhuzhen1996 commented 2 years ago

Hello, I wrote directly in the code without entering the command line. This is the structure of the FaceForensics++ dataset in my windows system 1646119120(1) 1646119143(1)

davide-coccomini commented 2 years ago

I think the problem stems from the contents of those folders in the second screen. In particular, DeepFakeDetection I believe has different content than the others. We also did not use that piece of dataset for our experiments. Remove that folder and leave only Deepfakes, Face2Face, FaceShifter, FaceSwap and NeuralTextures, which all have the same structure.

zhuzhen1996 commented 2 years ago

I deleted the extra folder and it still gives the same error when Windows is running。

davide-coccomini commented 2 years ago

This probably is a Windows-specific problem, see that: https://stackoverflow.com/questions/59168477/cant-find-starting-number-in-the-name-of-file-when-trying-to-read-frames-fr

davide-coccomini commented 2 years ago

Did you solve it?