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

Birdnet integration #112

Merged
merged 15 commits into from
May 23, 2022
Merged

Birdnet integration #112

merged 15 commits into from
May 23, 2022

Conversation

JacobGlennAyers
Copy link
Contributor

No description provided.

shreyasar2202 and others added 11 commits April 28, 2022 23:47
- Upgrades to tensorflow 2.8.0 which is compatible with both Microfaune and BirdNET
birdnet "model" isolation parameter was mispelled as "birndet"
Updated example to include the "model" isolation parameter
currently calls generate_automated_labels on the single clip - will refactor in a different commit to handle if an already made automated_df is passed in
- Made sure it is in the conda_environments folder
- Changed local_score_visualization() to spectrogram_visualization()
- Changed plot_bird_label_scores() to binary_visualization()
- Fixed a small bug in spectrogram_visualization() related to an error warning when a dataframe with automated annotations from multiple clips is passed in
- Fixed a small bug in spectrogram_visualization() to better handle both bools and dataframes for automated_df
- Added spectrogram_graph(), annotation_duration_histogram() to README
Copy link
Member

@sprestrelski sprestrelski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a bug in how the automated_df parameter was typechecked. Everything else worked fine. Further RIP to Normalized_Sample_Rate 😊

Copy link
Contributor

@shreyasar2202 shreyasar2202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of things that I noticed

  1. The BirdNet README needs to be updated with the new argument that we added.
  2. The color codes look confusing for this cell when using BirdNet isolation parameters
    image
    The markdown cell mentions white for true negatives, but the spectrogram shows blue

Apart from these, the changes look good to me!

@JacobGlennAyers
Copy link
Contributor Author

Shreyas, when you say argument added, which function are you referring to?

@shreyasar2202
Copy link
Contributor

Shreyas, when you say argument added, which function are you referring to?

I am referring to the 'num_predictions' command line argument

@JacobGlennAyers
Copy link
Contributor Author

Shreyas, when you say argument added, which function are you referring to?

I am referring to the 'num_predictions' command line argument

Cool, just changed our repo

- Some markdown didn't make sense talking about TPs, FPs, FNs, and TNs in the context of the spectrogram_visualization() changes
@sprestrelski sprestrelski deleted the birdnet_integration branch July 5, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants