From b5dec77ad5e351fc5905033acca5bd49e45f7d12 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 12 Nov 2020 12:58:55 -0500 Subject: [PATCH] updated packages --- demo/browser.js | 2 +- package.json | 2 +- src/tf.js | 11 +---------- wiki | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/demo/browser.js b/demo/browser.js index 13fec371..cd1ef008 100644 --- a/demo/browser.js +++ b/demo/browser.js @@ -34,7 +34,7 @@ const ui = { menuHeight: 0, camera: {}, fps: [], - buffered: true, + buffered: false, bufferedFPSTarget: 24, drawThread: null, framesDraw: 0, diff --git a/package.json b/package.json index 110e06b4..fea92314 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@vladmandic/pilogger": "^0.2.7", "chokidar": "^3.4.3", "dayjs": "^1.9.6", - "esbuild": "^0.8.5", + "esbuild": "^0.8.6", "eslint": "^7.13.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", diff --git a/src/tf.js b/src/tf.js index ad9bc715..7b2bf3c3 100644 --- a/src/tf.js +++ b/src/tf.js @@ -1,18 +1,9 @@ -// from compileld sources: bundle 2.0M -import * as tf from '@tensorflow/tfjs/dist/index.js'; -import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; - -const loadGraphModel = tf.loadGraphModel; -export { tf, setWasmPaths, loadGraphModel }; - -// from esm bundles: bundle 3.2M -/* +// from esm bundles: bundle 3.3M import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js'; import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; const loadGraphModel = tf.loadGraphModel; export { tf, setWasmPaths, loadGraphModel }; -*/ // modular: bundle 4.2M /* diff --git a/wiki b/wiki index 1cc1d9bf..726b24b9 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 1cc1d9bf597c26a37f4e70c4895b1e956195c1b3 +Subproject commit 726b24b9a76fd3df36fc309bd4f962daf4c74e45