Giter VIP home page Giter VIP logo

Comments (2)

foolhardy21 avatar foolhardy21 commented on August 17, 2024

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)

from handtrack.js.

punkpette avatar punkpette commented on August 17, 2024

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...

from handtrack.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.