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

ENH: Make it as easy as possible to get predictions from a windowed frame classification model #604

Open
4 tasks
Tracked by #614
NickleDave opened this issue Dec 25, 2022 · 0 comments
Assignees

Comments

@NickleDave
Copy link
Collaborator

  • add forward method to WindowedFrameClassificationModel described in ENH: Add abstraction that represents family of models that classify frames / time bins from spectrogram windows #603
  • this forward method will have a timebin_dur argument so it can convert vector of labeled time bins / frames to a sequence of intervals with start and stop times + labels, i.e. segments with onset + offset times
  • save timebin duration to spectrogram files, so they are handy when loaded
  • add convenience function / transform that's easy to instantiate and converts a spectrogram to a batch of consecutive, non-overlapping windows + a padding mask when padding is needed to create the rectangular batch of windows
    • this probably exists as something like EvalTransform already but not sure how easy it is to use outside of vak.core internals
@NickleDave NickleDave self-assigned this Dec 25, 2022
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

1 participant