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

Transfer learning #2

Open
mrocamora opened this issue May 26, 2020 · 1 comment
Open

Transfer learning #2

mrocamora opened this issue May 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@mrocamora
Copy link
Collaborator

Another feature we would need is transfer learning, for adapting a model to our particular purposes.

In particular, we would like to train a model, for instance, SB_CNN with URBAN_SED. Then, we would like to remove the last fully connected layers and replace them with new fully connected layers. Finally, we would like to train these layers with a certain dataset (e.g. recordings of the sound classes we want to detect), while keeping the weights fixed for the rest of the model.

I am willing to discuss the different possible ways of implementing this, if you agree.

Thanks!

@mrocamora mrocamora added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested and removed bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested labels May 26, 2020
@pzinemanas
Copy link
Collaborator

Hi Martín, nice to hear from you.

Thanks for proposing new features to improve the library. I'm working on this, I added a fine_tuning function in the DCASEModelContainer class. I'm also adding tests/test_fine_tuning.py script as an example on how to use the new function. Please check it out and let me know your opinions.

Regards,
Pablo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants