I'm trying to use essentia models to predict genre / mood of a song to improve my recommendation system using node js , i've followed some tutorials of essentia on github but i'm facing two problems well explained below
Steps to reproduce / Code snippets / Screenshots
-1ST PROBLEM ⛔
I've imported EssentiaWASM like this
PS : i've tried to import it like this like some tutorials but it makes an error :
error :
-Now when i'm using the first import to instantiate the extractor for using with "musicnn" models :
Then i've to tried to used like this but the line 53 cause me a problem :
The Error :
Exactly here :
Please i need a solution for both problems to extract the features correctly with the exractor and for the tenserflow Js problem while loading the model
What is the issue about?
What part(s) of Essentia.js is involved?
Description
I'm trying to use essentia models to predict genre / mood of a song to improve my recommendation system using node js , i've followed some tutorials of essentia on github but i'm facing two problems well explained below
Steps to reproduce / Code snippets / Screenshots
-1ST PROBLEM ⛔
I've imported EssentiaWASM like this![image](https://user-images.githubusercontent.com/49171816/209368607-451dd348-5912-4cea-9f28-1e940bdb24bf.png)
PS : i've tried to import it like this like some tutorials but it makes an error :
error :
![image](https://user-images.githubusercontent.com/49171816/209376408-02207876-5576-47dc-b156-f0680f7a8e82.png)
-Now when i'm using the first import to instantiate the extractor for using with "musicnn" models :![image](https://user-images.githubusercontent.com/49171816/209371727-34436845-278a-43a8-86d3-05e21434e4c4.png)
-2ND PROBLEM ⛔
Please i need a solution for both problems to extract the features correctly with the exractor and for the tenserflow Js problem while loading the model
System info
Node Js : v18.12.1 Essentia Js : 0.1.3 tensorflow/tfjs-converter : 4.1.0 tensorflow/tfjs-core : 4.1.0 tensorflow/tfjs-node : 4.1.0