Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating dataset workflow isn't working #2

Open
PyxAI opened this issue Apr 19, 2020 · 3 comments
Open

Creating dataset workflow isn't working #2

PyxAI opened this issue Apr 19, 2020 · 3 comments

Comments

@PyxAI
Copy link

PyxAI commented Apr 19, 2020

Hi,
I'm trying to build a dataset using the provided scripts:
get_data.py -> preprocess_audio_frames.py -> face_detector.py -> generate_pickle.py

There are several issues with the pipeline, like (in generate_pickle.py) files are not found in the generated folder (by preprocess_audio_frames \ face_detector)
Yet after overcoming this, I get training issues that result from 0 length wav files, and what seems to be too large files.
In the dataset that you use there are only 32kb file size for the audio.
Any way to give an explanation about what the files should look like, or what causes the errors in training?

@PyxAI
Copy link
Author

PyxAI commented Apr 20, 2020

Here is how to fix it:
round the variable avg_fps on face_detector.py:
avg_fps = np.round(...)
otherwise it will only catch the first frame of the entire video

@upretiii00
Copy link

@PyxAI hey! did you face this issue , i have the generated audio files and frames stored and converted them to pickle file using generate_pickle and yet when running runtime.py its saying Total amount of training samples: 0 faces | 0 audios

Here is how to fix it:
round the variable avg_fps on face_detector.py:
avg_fps = np.round(...)
otherwise it will only catch the first frame of the entire video

@PyxAI hey! did you face this issue , i have the generated audio files and frames stored and converted them to pickle file using generate_pickle and yet when running runtime.py its saying Total amount of training samples: 0 faces | 0 audios

@PyxAI
Copy link
Author

PyxAI commented Sep 28, 2020

Did you reference the correct pickle in the settings file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants