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

log top-scoring samples to wandb (resolves #575) #619

Merged
merged 2 commits into from
Jan 2, 2023
Merged

Conversation

sammlapp
Copy link
Collaborator

This PR adds logging of highest n scoring clips per class to WandB after running model.predict()

  • defaults to 3 clips per class for up to 5 classes
  • moves wandb sample logging configuration to model.wandb_logging dictionary with 3 parameters: "n_preview_samples" (number of samples to log to wandb before training/prediction); "top_samples_classes": which classes to log top-scoring samples of after prediction (if None, first 5 classes or all if less than 5); "n_top_samples": how many top-scoring samples to log for each class

It also resolves a bug by setting self.has_clips=True in AudioSplittingDataset initialization. It should be True, but was False because of the way it was initialized and oversight when writing the code.

@sammlapp sammlapp merged commit a35729b into develop Jan 2, 2023
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

Successfully merging this pull request may close these issues.

1 participant