Hey @emily,
I faced a similar issue with loading a tf.js
model in before, see this thread. You can’t access PlayCanvas assets simply by doing model2/model.json
, instead you need to access them like so. In my case, I found it easier to upload it to Github and then use the raw link to the model from there, which had the added bonus of reducing size of the PlayCanvas project as well.
If you would like to see how I have integrated neural nets into my projects, you can DM me and we can work something out.
Hope this helps, and good luck with your ML project, it’s great to see more integration of PlayCanvas with ML frameworks!