forked from MTG/essentia
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify MAEST to return tensors instead of vectors
In other TensorflowPredict algorithm we have prefered to return 2D outputs since they typically fit in the schema (timestamps, embeddings), or (timestamps, activations). Hoewer in some cases more dimensions are required. For example, we need 3D to return the attention layers (batch, tokens, dimensions). A similar problem has happened before when trying to retrieve the internal representations of VGGish: MTG#1333
- Loading branch information
Showing
3 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters