-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/multi file inference #96
Conversation
…multiple files inference. The metadata will be used in the inference.py script where we'll concat the outputs with the metadata and post process the files as we wish
…nels and make it work
# Conflicts: # soundbay/inference.py
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.
Let's merge it can make our lives much easier :)
# get the list of audio files | ||
audio_files = list(audio_folder.glob('*.wav')) | ||
# sort the audio files by name, should be the order by start time as well | ||
audio_files = sorted(audio_files) |
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.
it might be nice to allow the user to define the key to sort by (sort by name can be the default)
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.
Not gonna implement it now, if needed in the future we can have a user defined key ordering
soundbay/results_analysis.py
Outdated
""" Converts a csv file containing the inference results to a raven csv file. | ||
Args: probsdataframe: a pandas dataframe containing the inference results. | ||
Args: probsdataframe: a pandas dataframe cosntaining the inference results. |
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.
typo?
Now we can: