From 9dab3665bee9af8a9bf4e50cd6697da1854fe9e8 Mon Sep 17 00:00:00 2001 From: meeki007 <5952964+meeki007@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:08:42 -0500 Subject: [PATCH] Path to /@vladmandic/human/models incorrect --- demo/node.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/demo/node.js b/demo/node.js index e2ab01e1..9ca643c7 100644 --- a/demo/node.js +++ b/demo/node.js @@ -14,17 +14,17 @@ const myConfig = { videoOptimized: false, async: false, face: { - detector: { modelPath: 'file://models/faceboxes.json' }, // cannot use blazeface in nodejs due to missing required kernel function in tfjs-node - mesh: { modelPath: 'file://models/facemesh.json' }, - iris: { modelPath: 'file://models/iris.json' }, - age: { modelPath: 'file://models/age-ssrnet-imdb.json' }, - gender: { modelPath: 'file://models/gender.json' }, - emotion: { modelPath: 'file://models/emotion-large.json' }, + detector: { modelPath: 'file://../models/faceboxes.json' }, // cannot use blazeface in nodejs due to missing required kernel function in tfjs-node + mesh: { modelPath: 'file://../models/facemesh.json' }, + iris: { modelPath: 'file://../models/iris.json' }, + age: { modelPath: 'file://../models/age-ssrnet-imdb.json' }, + gender: { modelPath: 'file://../models/gender-ssrnet-imdb.json' }, + emotion: { modelPath: 'file://../models/emotion-large.json' }, }, - body: { modelPath: 'file://models/posenet.json' }, + body: { modelPath: 'file://../models/posenet.json' }, hand: { - detector: { modelPath: 'file://models/handdetect.json' }, - skeleton: { modelPath: 'file://models/handskeleton.json' }, + detector: { modelPath: 'file://../models/handdetect.json' }, + skeleton: { modelPath: 'file://../models/handskeleton.json' }, }, };