Comments (4)
Hey @chinmaynehate ,
thanks for checking out our code!
It seems you found a little bug in our pipeline: indeed, the extract_faces.py
script looks for a field class
in the video DataFrame created with index_*.py
, but this field is created only for the FF++ dataset (if I'm not mistaken, it indicates the different categories of the manipulated videos, which is an info not available at the time we wrote the code for the DFDC dataset).
I'll fix it in the next committ, but it might take me a while as I might need to re-run the pipeline.
In the meantime, you could try this temporary "patch".
The line giving you this error is the 243 of extract_faces.py
, where a DataFrame containing the info of the faces extracted from a video N is created. You should remove the fields 'class', 'quality' and 'source', and everything should run fine.
Something along this line:
face_dict = {'facepath': str(face_path.relative_to(facedestination_dir)), 'video': idx,
'label': record['label'], 'videosubject': subj_id, 'original': record['original']}
Let me know if that works, and thank you for spotting this!
Bests,
Edoardo
from icpr2020dfdc.
Hey @chinmaynehate ,
with this last commit we should have fixed the bug you found.
If you haven't tried the patch I suggested you yet, try cloning the master branch and repeat the faces extraction process with the updated extract_faces.py
.
Let us know if you have any other problem, and thanks again for the catch!
Bests,
Edoardo
from icpr2020dfdc.
Hey,
Thank you for your help!
I ran the fixed code of extract_faces.py from the master branch on some part of the dfdc dataset. Your latest commit has fixed the issue that I had raised earlier. I want to bring to your attention another small issue.
After running the latest extract_faces.py:
- As expected, all the extracted faces were stored in the path given in --facesfolder argument which is the faces output directory.
- But the Output DataFrame of faces which were supposed to be saved in the path given in --facesdf(for me it was icpr2020dfdc/facesdf folder). But the Output DataFrame( i.e. .pkl file) got saved in the icpr2020dfdc/ folder itself( which is not the folder given as --facesdf argument)
Thank you
from icpr2020dfdc.
Since the original problem seems to be solved, let's discuss this in a new issue
from icpr2020dfdc.
Related Issues (20)
- Facing error while running train_all.sh HOT 2
- Celebdf dataset HOT 1
- Can't find the file data_frame_df.pkl HOT 3
- network doesn't generalize well HOT 3
- Query HOT 4
- Unable to find "List_of_testing_videos.txt" HOT 1
- Source code of Ensemble models HOT 18
- index_dfdc errror HOT 2
- DFDC split HOT 1
- Question about the returned RuntimeError when using the Celeb-DF dataset HOT 7
- what is embedding_routine function used for? HOT 1
- how to set validation split for dfdc? HOT 4
- use pre-trained model to detect my videos, but filter out some specific datasets on the pre-train which may overlap HOT 2
- regarding attention heatmap HOT 1
- Training dataset for DFDC HOT 1
- models pretrained on DFDC works well, but why models pertrained on FFPP always give a low score? HOT 1
- EnvironmentNameNotFound: Could not find conda environment: icpr2020 HOT 3
- About Image prediction notebook on Colab HOT 3
- val_sample HOT 1
- Regarding Top-up Training to improve the accuracy of existing deepfake model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icpr2020dfdc.