Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'drawImage' of null #21

Open
SoulMateWF opened this issue Feb 9, 2021 · 1 comment
Open

Cannot read property 'drawImage' of null #21

SoulMateWF opened this issue Feb 9, 2021 · 1 comment

Comments

@SoulMateWF
Copy link

Cannot read property 'drawImage' of null

conv.js:119 Uncaught (in promise) TypeError: Cannot read property 'drawImage' of null
at MathBackendWebGL.fromPixels (conv.js:119)
at Engine.fromPixels (reduction_ops.js:239)
at ArrayOps.fromPixels (dat.gui.module.js:2516)
at dat.gui.module.js:1795
at Tracking.tidy (util.js:261)
at Object.descriptor.value (dat.gui.module.js:1794)
at toInputTensor (topology.js:920)
at topology.js:977
at Object.Tracking.tidy (util.js:261)
at PoseNet. (topology.js:976)

@lautaroh2394
Copy link

Were you able to get it working? I'm also getting this. I just cloned the repo, cd'd into ./demos, built it and yarn watch

image
image

lrn.js:30 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'drawImage')
    at MathBackendWebGL.fromPixels (lrn.js:30:20)
    at Engine.fromPixels (array_ops.js:794:1)
    at ArrayOps.fromPixels (dat.gui.module.js:2516:1)
    at dat.gui.module.js:2516:1
    at Tracking.tidy (alea.js:93:1)
    at descriptor.value (dat.gui.module.js:2516:1)
    at toInputTensor (topology.js:1605:1)
    at topology.js:1605:1
    at Tracking.tidy (alea.js:93:1)
    at PoseNet.<anonymous> (topology.js:1605:1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants