-
Create a
src/models/audio/<new_model>directory and copy paste the model's source code into it. -
Create a wrapper for the model inheriting from the
AudioModelabstract class available in src/models/audio/abstract_audio_model.py, and implement the necessary methods. -
Instantiate the model below the wrapper class (see existing models for example).
-
Add the instantiated model to the models.audio package by adding it in src/models/audio/__init__.py.
Once these steps are completed, the model can be used to generate a new dataset using the argument audio_fe=<my_model>. See Data Generation for more details.
→ The current implementation only allow the use of 1D (i.e., reduced) audio embeddings.