Closed yaffaharari closed 5 years ago
Similar error, browser Chrome 75.0.3770.100 (Windows 10, 64 bit) face-api.js v0.20.0 and 0.19.0
tf-core.esm.js:4786 C:\fakepath(180,2-134): error X3500: array reference cannot be used as an l-value; not natively addressable C:\fakepath(159,7-117): error X3511: forced to unroll loop, but unrolling failed. C:\fakepath(157,7-117): error X3511: forced to unroll loop, but unrolling failed.
Warning: D3D shader compilation failed with default flags. (ps_3_0) Retrying with avoid flow control C:\fakepath(180,2-134): error X3500: array reference cannot be used as an l-value; not natively addressable C:\fakepath(159,7-117): error X3511: forced to unroll loop, but unrolling failed. C:\fakepath(157,7-117): error X3511: forced to unroll loop, but unrolling failed.
Warning: D3D shader compilation failed with avoid flow control flags. (ps_3_0) Retrying with prefer flow control C:\fakepath(180,2-134): warning X3550: array reference cannot be used as an l-value; not natively addressable, forcing loop to unroll C:\fakepath(180,2-134): error X3500: array reference cannot be used as an l-value; not natively addressable C:\fakepath(159,7-117): error X3511: forced to unroll loop, but unrolling failed. C:\fakepath(157,7-117): error X3511: forced to unroll loop, but unrolling failed.
Warning: D3D shader compilation failed with prefer flow control flags. (ps_3_0) Failed to create D3D Shaders
Uncaught (in promise) Error: Failed to link vertex and fragment shaders. at xr (tf-core.esm.js:4786) at e.createProgram (tf-core.esm.js:5381) at tf-core.esm.js:5578 at tf-core.esm.js:8507 at e.getAndSaveBinary (tf-core.esm.js:8524) at e.compileAndRun (tf-core.esm.js:8506) at e.conv2dWithIm2Row (tf-core.esm.js:8277) at e.conv2d (tf-core.esm.js:8282) at We.engine.runKernel.x (tf-core.esm.js:9797) at tf-core.esm.js:1494
try this: right click on computer -> properties -> task manager -> display adapters -> right click on your graphic card (I have Intel (R) HD Graphics 3000) and update driver, disable device, enable device. It should do the job
That didnt solved my problem
And I have Intel (R) HD Graphics 3000 too
This error comes from the tfjs-core WebGL backend. Could be some device issue, for example some android devices too have the same issue: https://github.com/tensorflow/tfjs/issues/952, #151.
Closing since this is not really something that face-api.js has control over, probably better to file an issue at tfjs. I would also recommend playing around with some tfjs examples first, to see whether this issue occurs and which ops might cause this issue.
@justadudewhohacks there's any workaround for this? In my case it's failing on all Samsung devices and Motorola.
That didnt solved my problem And I have Intel (R) HD Graphics 4000 too, I5 and 6GB
I use Ubuntu 22.04, Google Chrome 114.0.5735.133, and X.Org X server drivers for nVidia (default). It works using the option Launch using Discrete Graphics Card to open Chrome.
I get this error:
package.json: