Comments (6)
This change should preserve the required columns for celeb and solve this issue.
from icpr2020dfdc.
Hey,
For CelebDF-V2 dataset,
I used the latest code to create the faces dataframe for celebdf. The issue of 'test' field has been solved. But now I am getting KeyError for 'original' field.
You can verify this by running:
import pandas as pd
df = pd.read_pickle("facesdf/faces_df.pkl")
print(df['original'])
print("\n")
print(df["test"])
I don't know why but:
If you remove 'original' from fields_to_preserve_from_video
list line 190 of extract_faces.py, and rerun the code(extract_faces.py), we get both the 'original' and 'test' fields in the faces dataframe.
Thank you
from icpr2020dfdc.
That's strange. Did you remove the old faces_df.pkl
and re-run the latest code? Does the error show up in the exact same way as before, but with original
field instead of test
?
from icpr2020dfdc.
Hey,
Did you remove the old faces_df.pkl and re-run the latest code?
Yes I deleted the faces_df.pkl file before re-running the latest code.
Does the error show up in the exact same way as before, but with original field instead of test?
Yes
When I read the faces dataframe and print(df['original']) using the latest code:
I get KeyError: 'original'
But 'test' field is present which I verified by print(df['test'])
On the other hand, if I remove 'original' from the list, I get the original and test fields.
>>> df['original']
facepath
Celeb-real/id58_0003.mp4/fr000_subj0.jpg -1
Celeb-real/id58_0003.mp4/fr016_subj0.jpg -1
Celeb-real/id58_0003.mp4/fr032_subj0.jpg -1
Celeb-real/id58_0003.mp4/fr048_subj0.jpg -1
Celeb-real/id58_0003.mp4/fr064_subj0.jpg -1
..
YouTube-real/00192.mp4/fr411_subj0.jpg -1
YouTube-real/00192.mp4/fr427_subj0.jpg -1
YouTube-real/00192.mp4/fr442_subj0.jpg -1
YouTube-real/00192.mp4/fr457_subj0.jpg -1
YouTube-real/00192.mp4/fr473_subj0.jpg -1
Name: original, Length: 208840, dtype: int64
>>> df['test']
facepath
Celeb-real/id58_0003.mp4/fr000_subj0.jpg False
Celeb-real/id58_0003.mp4/fr016_subj0.jpg False
Celeb-real/id58_0003.mp4/fr032_subj0.jpg False
Celeb-real/id58_0003.mp4/fr048_subj0.jpg False
Celeb-real/id58_0003.mp4/fr064_subj0.jpg False
...
YouTube-real/00192.mp4/fr411_subj0.jpg False
YouTube-real/00192.mp4/fr427_subj0.jpg False
YouTube-real/00192.mp4/fr442_subj0.jpg False
YouTube-real/00192.mp4/fr457_subj0.jpg False
YouTube-real/00192.mp4/fr473_subj0.jpg False
Name: test, Length: 208840, dtype: bool
from icpr2020dfdc.
This commit should fix the issue, please try to repeat the steps and let us know if you succedeed
from icpr2020dfdc.
Hey,
Yes. The issue is solved.
Thank you
from icpr2020dfdc.
Related Issues (20)
- What is the Training set of those pre-trianed models that provided by your dropbox link HOT 1
- Analyze results HOT 5
- ERROR conda.core.link:_execute(507): An error occurred while installing package 'conda-forge::async_generator-1.10-py_0' HOT 4
- training using the train_triplet file HOT 11
- 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
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.