Repository navigation
ENH: Add Segments class - #133
Merged
Merged
Conversation
…Array to disk and read back in
…on't case spurious TypeError
…loating numpy arrays, not array_equal
…gered wrong error for pytest.raises
…e with actual string labels, not empty strings
…t_params to params
Apparently this is needed to generate the autodoc files. Refs in how-tos weren't working before this
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #133 +/- ##
==========================================
+ Coverage 94.47% 95.33% +0.86%
==========================================
Files 30 31 +1
Lines 1013 1180 +167
==========================================
+ Hits 957 1125 +168
+ Misses 56 55 -1 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
vocalpy.Segmentsas in #127 (but doesn't addBoxesyet).Along with that, adds a how-to on segmentation metrics that borrows heavily from @houtan-ghaffari 's paper and code (happy to hear feedback! Like if I made a dumb mistake 🙈 )
Also:
datasetmodule andSequenceDatasetclass (because as written would require rewriting to work withSegments)SQLAlchemydependencyvocalpy.segment.ava.segment->vocalpy.segment.avaavamodule atsegmentlevel)Paramsclass to generically represent parameters used with a method, e.g. segmenting parametersParams, or adict, at instantiation"AvaParamsrepresents the parameters forsegment.avaSpectrogram_Maker.spect_paramsandSegmenter.segment_paramsto justparams