I have trained my model locally using the python libraries and got the 3 files:
After that, I have followed the steps on this page, under "Dumping Your Weights" and now I also have:
I have also this config.json file
But when I try to import it using the js library it crashes.
error log
values right before it crashes
The issue apparently originated from the config file. As soon as I replaced the file with the one used in the default model (config.json), it worked.