From 9391acd72d97a934c7cc7ab22eccc77bb20e4519 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 17 Nov 2020 12:38:48 -0500 Subject: [PATCH] swtich to custom tfjs bundle --- src/age/age.js | 2 +- src/emotion/emotion.js | 2 +- src/gender/gender.js | 2 +- src/hand/box.js | 2 +- src/hand/handdetector.js | 2 +- src/hand/handpipeline.js | 2 +- src/hand/handpose.js | 2 +- src/human.js | 2 +- src/image.js | 2 +- wiki | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/age/age.js b/src/age/age.js index 02231818..76f2178e 100644 --- a/src/age/age.js +++ b/src/age/age.js @@ -1,4 +1,4 @@ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as profile from '../profile.js'; const models = {}; diff --git a/src/emotion/emotion.js b/src/emotion/emotion.js index c29a8a1b..7da8c0b7 100644 --- a/src/emotion/emotion.js +++ b/src/emotion/emotion.js @@ -1,4 +1,4 @@ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as profile from '../profile.js'; const annotations = ['angry', 'disgust', 'fear', 'happy', 'sad', 'surpise', 'neutral']; diff --git a/src/gender/gender.js b/src/gender/gender.js index c0260e4d..1f987782 100644 --- a/src/gender/gender.js +++ b/src/gender/gender.js @@ -1,4 +1,4 @@ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as profile from '../profile.js'; const models = {}; diff --git a/src/hand/box.js b/src/hand/box.js index f3c8eacd..1510b8f4 100644 --- a/src/hand/box.js +++ b/src/hand/box.js @@ -14,7 +14,7 @@ * limitations under the License. * ============================================================================= */ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; function getBoxSize(box) { return [ diff --git a/src/hand/handdetector.js b/src/hand/handdetector.js index 6268418b..4478ad6d 100644 --- a/src/hand/handdetector.js +++ b/src/hand/handdetector.js @@ -15,7 +15,7 @@ * ============================================================================= */ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as box from './box'; class HandDetector { diff --git a/src/hand/handpipeline.js b/src/hand/handpipeline.js index d24b0826..62330f9c 100644 --- a/src/hand/handpipeline.js +++ b/src/hand/handpipeline.js @@ -15,7 +15,7 @@ * ============================================================================= */ -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as box from './box'; import * as util from './util'; diff --git a/src/hand/handpose.js b/src/hand/handpose.js index 57199cf7..d29e49dd 100644 --- a/src/hand/handpose.js +++ b/src/hand/handpose.js @@ -16,7 +16,7 @@ */ // https://storage.googleapis.com/tfjs-models/demos/handpose/index.html -import { tf } from '../tf.js'; +import { tf } from '../../dist/tfjs.esm.js'; import * as handdetector from './handdetector'; import * as pipeline from './handpipeline'; import * as anchors from './anchors'; diff --git a/src/human.js b/src/human.js index 5ac37d60..ce5b7f9f 100644 --- a/src/human.js +++ b/src/human.js @@ -1,4 +1,4 @@ -import { tf, wasm } from './tf.js'; +import { tf, wasm } from '../dist/tfjs.esm.js'; import * as facemesh from './face/facemesh.js'; import * as age from './age/age.js'; import * as gender from './gender/gender.js'; diff --git a/src/image.js b/src/image.js index f0964755..fd89d0f0 100644 --- a/src/image.js +++ b/src/image.js @@ -1,4 +1,4 @@ -import { tf } from './tf.js'; +import { tf } from '../dist/tfjs.esm.js'; import * as fxImage from './imagefx.js'; // internal temp canvases diff --git a/wiki b/wiki index 86775430..66b2c0f8 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 86775430d497ec4c35f3703267cd273d16498179 +Subproject commit 66b2c0f895189f0dda2ef2edc76fe81bbefecc9d