ml5-website-v01 icon indicating copy to clipboard operation
ml5-website-v01 copied to clipboard

Uncaught (in promise) Error: Unable to create WebGLTexture.

Open vidasdemo opened this issue 5 years ago • 0 comments

get the following error after migrating a demo from a P5.JS web editor version of this app to a desktop version using electron . The PC on which this doesn't work has AMD 8350 CPU with 16GB RAM. The OK computer has intel 5 CPU with 16 GB RAM. At first I thought the problem was electron but then found that this error was only triggered by apps that had the posenet call. Sometimes different error messages also arrive.

The error results in posenet data arriving and also impacts images loaded in preload.

Why is using posenet machine dependent?

Apologies if I am posting this in the wrong place.

Uncaught (in promise) Error: Unable to create WebGLTexture. at Rn (tf-core.esm.js:17) at _n (tf-core.esm.js:17) at Wn (tf-core.esm.js:17) at Gn (tf-core.esm.js:17) at e.createUnsignedBytesMatrixTexture (tf-core.esm.js:17) at e.acquireTexture (tf-core.esm.js:17) at e.acquireTexture (tf-core.esm.js:17) at e.uploadToGPU (tf-core.esm.js:17) at e.getTexture (tf-core.esm.js:17) at e.fromPixels (tf-core.esm.js:17) Rn @ tf-core.esm.js:17 n @ tf-core.esm.js:17 Wn @ tf-core.esm.js:17 Gn @ tf-core.esm.js:17 e.createUnsignedBytesMatrixTexture @ tf-core.esm.js:17 e.acquireTexture @ tf-core.esm.js:17 e.acquireTexture @ tf-core.esm.js:17 e.uploadToGPU @ tf-core.esm.js:17 e.getTexture @ tf-core.esm.js:17 e.fromPixels @ tf-core.esm.js:17 e.fromPixels @ tf-core.esm.js:17 fromPixels @ tf-core.esm.js:17 fromPixels @ tf-core.esm.js:17 K @ posenet.esm.js:2 (anonymous) @ posenet.esm.js:2 (anonymous) @ tf-core.esm.js:17 e.scopedRun @ tf-core.esm.js:17 e.tidy @ tf-core.esm.js:17 t.tidy @ tf-core.esm.js:17 (anonymous) @ posenet.esm.js:2 (anonymous) @ posenet.esm.js:2 (anonymous) @ posenet.esm.js:2 (anonymous) @ posenet.esm.js:2 a @ posenet.esm.js:2 e.estimateMultiplePoses @ posenet.esm.js:2 (anonymous) @ index.js:115 x @ runtime.js:62 (anonymous) @ runtime.js:296 e.(anonymous function) @ runtime.js:114 a @ asyncToGenerator.js:17 (anonymous) @ asyncToGenerator.js:15 t @ _export.js:36 (anonymous) @ asyncToGenerator.js:14 (anonymous) @ index.js:127 (anonymous) @ index.js:55 x @ runtime.js:62 (anonymous) @ runtime.js:296 e.(anonymous function) @ runtime.js:114 a @ asyncToGenerator.js:17 (anonymous) @ asyncToGenerator.js:28 Promise.then (async) a @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:15 t @ _export.js:36 (anonymous) @ asyncToGenerator.js:14 (anonymous) @ index.js:127 (anonymous) @ index.js:55 x @ runtime.js:62 (anonymous) @ runtime.js:296 e.(anonymous function) @ runtime.js:114 a @ asyncToGenerator.js:17 (anonymous) @ asyncToGenerator.js:28 Promise.then (async) a @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:28 Promise.then (async) a @ asyncToGenerator.js:27 (anonymous) @ asyncToGenerator.js:15 t @ _export.js:36 (anonymous) @ asyncToGenerator.js:14 (anonymous) @ index.js:57 t @ index.js:38 t.default @ index.js:155 t.(anonymous function) @ p5PreloadHelper.js:30 setup @ sketch.js:345 (anonymous) @ p5.min.js:3 _runIfPreloadsAreDone @ p5.min.js:3 _decrementPreload @ p5.min.js:3 i.onload @ p5.min.js:3 load (async) x.loadImage @ p5.min.js:3 (anonymous) @ p5.min.js:3 preload @ sketch.js:277 (anonymous) @ p5.min.js:3 m @ p5.min.js:3 n @ p5.min.js:3

vidasdemo avatar May 03 '19 19:05 vidasdemo