swtich to custom tfjs bundle

pull/293/head
Vladimir Mandic 2020-11-17 12:38:48 -05:00
parent d7f5dc7a1f
commit 9391acd72d
10 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
import * as profile from '../profile.js'; import * as profile from '../profile.js';
const models = {}; const models = {};

View File

@ -1,4 +1,4 @@
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
import * as profile from '../profile.js'; import * as profile from '../profile.js';
const annotations = ['angry', 'disgust', 'fear', 'happy', 'sad', 'surpise', 'neutral']; const annotations = ['angry', 'disgust', 'fear', 'happy', 'sad', 'surpise', 'neutral'];

View File

@ -1,4 +1,4 @@
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
import * as profile from '../profile.js'; import * as profile from '../profile.js';
const models = {}; const models = {};

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* ============================================================================= * =============================================================================
*/ */
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
function getBoxSize(box) { function getBoxSize(box) {
return [ return [

View File

@ -15,7 +15,7 @@
* ============================================================================= * =============================================================================
*/ */
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
import * as box from './box'; import * as box from './box';
class HandDetector { class HandDetector {

View File

@ -15,7 +15,7 @@
* ============================================================================= * =============================================================================
*/ */
import { tf } from '../tf.js'; import { tf } from '../../dist/tfjs.esm.js';
import * as box from './box'; import * as box from './box';
import * as util from './util'; import * as util from './util';

View File

@ -16,7 +16,7 @@
*/ */
// https://storage.googleapis.com/tfjs-models/demos/handpose/index.html // 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 handdetector from './handdetector';
import * as pipeline from './handpipeline'; import * as pipeline from './handpipeline';
import * as anchors from './anchors'; import * as anchors from './anchors';

View File

@ -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 facemesh from './face/facemesh.js';
import * as age from './age/age.js'; import * as age from './age/age.js';
import * as gender from './gender/gender.js'; import * as gender from './gender/gender.js';

View File

@ -1,4 +1,4 @@
import { tf } from './tf.js'; import { tf } from '../dist/tfjs.esm.js';
import * as fxImage from './imagefx.js'; import * as fxImage from './imagefx.js';
// internal temp canvases // internal temp canvases

2
wiki

@ -1 +1 @@
Subproject commit 86775430d497ec4c35f3703267cd273d16498179 Subproject commit 66b2c0f895189f0dda2ef2edc76fe81bbefecc9d