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

Tutorial: add Model training section #177

Open
raphaelschwinger opened this issue Mar 8, 2024 · 1 comment
Open

Tutorial: add Model training section #177

raphaelschwinger opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@raphaelschwinger
Copy link
Contributor

raphaelschwinger commented Mar 8, 2024

Add a section to the tutorial to train and evaluate a simple NN (efficientnet). Including visualization of audio input, spectrogram, NN output and transformation of output to class name.

This involves the following steps:

  • Load BaseModule with model parameter as efficientnet.py
    • for this, the hydra.initiate call needs to be removed and the model parameter should be typed as an object (see how it is done in the GADMEDatamodule)
  • train using lightning trainer
  • eval using lightning trainer
  • use trained model for prediction of a test sample
    • load a single sample from test dataset
    • visualize waveform, make audio listenable in notebook
    • convert to spectrogram using test dataloader (make sure its the same sample, could be done with disabling random sampling of the dataloader ?)
    • feed into trained network
    • convert output to class label name
@raphaelschwinger
Copy link
Contributor Author

@tom2208 @jonathanschirp @PariaValizadeh That could be a good task for you! First try the stuff I mentioned in notion and then tackle this issue!

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

4 participants