Issue when I serve the models from my local server #169
-
Error ->
loading into React App ->
In my local express server is serving files at port 3001. At the root I have folder name 'models' which contain all the models loaded manifest.json + shard file . How can I resolve this issue and serve models from local server. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
load method takes uri of a folder containing model json, not json itself.
and if you're using faceapi on the SAME express server, then why specify FQDN to start with, its much better to use relative path const modelPath = '/models' |
Beta Was this translation helpful? Give feedback.
-
Thanks Alot @vladmandic It get resolved |
Beta Was this translation helpful? Give feedback.
load method takes uri of a folder containing model json, not json itself.
and if you're using faceapi on the SAME express server, then why specify FQDN to start with, its much better to use relative path