-
Notifications
You must be signed in to change notification settings - Fork 11
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
Begin of audio2numpy #19
base: main
Are you sure you want to change the base?
Conversation
queue_export - SharedQueue export used re-create SharedQueue object in worker | ||
queue_export_video - SharedQueue export for video frames, used re-create SharedQueue object in worker | ||
queue_export_audio - SharedQueue export for audio, used re-create SharedQueue object in worker | ||
output_dir - directory to temporarily store audio files. All the audio files will be deleted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this argument doesn't even exist
|
||
def get_audio(vid): | ||
if not vid.endswith(".wav"): | ||
load_vid, dst_name = handle_youtube(vid, "audio") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need two separate handle_youtube calls. Instead of making get_frames, get_audio try to unify them into get_video that takes the modalities
parameter and also pass that parameter into the handle_youtube function and return everything needed. Less code is better
have you tested this out yet? does it work? |
A place holder pull request