Open Jackie-Tang opened 1 year ago
facing a similar issue in react app as well.
("react": "^17.0.1", "handtrackjs": "^0.1.5",)
error:
TypeError: t is not a function
at tf-core.esm.js:17:1
at tf-core.esm.js:17:1
at t.scopedRun (tf-core.esm.js:17:1)
at t.tidy (tf-core.esm.js:17:1)
at f (tf-core.esm.js:17:1)
at tf-core.esm.js:17:1
at t.scopedRun (tf-core.esm.js:17:1)
at t.runKernelFunc (tf-core.esm.js:17:1)
at t.runKernel (tf-core.esm.js:17:1)
at clone_ (clone.ts:47:1)
at clone__op (operation.ts:51:1)
at cloneTensor (utils.ts:162:1)
at Module.executeOp (control_executor.ts:131:1)
at operation_executor.ts:65:1
at executeOp (operation_executor.ts:115:1)
at GraphExecutor.processStack (graph_executor.ts:492:1)
at GraphExecutor.executeWithControlFlow (graph_executor.ts:439:1)
at GraphExecutor._executeAsync (graph_executor.ts:357:1)
at GraphExecutor.executeAsync (graph_executor.ts:321:1)
at GraphModel.executeAsync (graph_model.ts:362:1)
at ObjectDetection.load (index.js:171:1)
at async Module.load (index.js:93:1)
I have a similar issue also vue 3 + vite latest version
engine.ts:424
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'backend')
at _Engine.moveData (engine.ts:424:29)
at DataStorage.get (backend.ts:54:22)
at _MathBackendWebGL.incRef (backend_webgl.ts:204:34)
at Object.identity2 [as kernelFunc] (Identity.ts:27:11)
at kernelFunc (engine.ts:636:22)
at engine.ts:703:23
at _Engine.scopedRun (engine.ts:478:19)
at _Engine.runKernelFunc (engine.ts:699:10)
at _Engine.runKernel (engine.ts:543:17)
at clone_ (clone.ts:47:17)
any chance this gets fixed soon? i see this issue was opened on 2022...
engine.ts:586 Uncaught (in promise) TypeError: t3 is not a function at engine.ts:586 at engine.ts:424 at t2.scopedRun (engine.ts:435) at t2.tidy (engine.ts:422) at f2 (engine.ts:586) at engine.ts:599 at t2.scopedRun (engine.ts:435) at t2.runKernelFunc (engine.ts:596) at t2.runKernel (engine.ts:493) at clone_2 (clone.ts:47)