-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
TensorFlow.js version 0.10.3
Chrome version 66.0.3359.139
I've run the demo on both the main site ( https://storage.googleapis.com/tfjs-models/demos/posenet/camera.html ) and my own local site. The right hand side controls show and the FPS canvas on the left hand side but no video window comes up. It's just white space. And I get the same two errors in the console.
C:\fakepath(129,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(136,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(143,7-116): warning X3569: loop executes for more than 255 iterations (maximum for this shader target), forcing loop to unroll
C:\fakepath(143,7-116): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (195 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
C:\fakepath(136,7-104): error X3511: forced to unroll loop, but unrolling failed.
C:\fakepath(129,7-104): 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(129,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(136,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(143,7-116): warning X3569: loop executes for more than 255 iterations (maximum for this shader target), forcing loop to unroll
C:\fakepath(143,7-116): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (195 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
C:\fakepath(136,7-104): error X3511: forced to unroll loop, but unrolling failed.
C:\fakepath(129,7-104): 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(129,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(136,7-104): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
C:\fakepath(143,7-116): warning X3569: loop executes for more than 255 iterations (maximum for this shader target), forcing loop to unroll
C:\fakepath(143,7-116): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (195 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
C:\fakepath(136,7-104): error X3511: forced to unroll loop, but unrolling failed.
C:\fakepath(129,7-104): 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.
Followed by
Uncaught (in promise) Error: Failed to link vertex and fragment shaders.
at Object.linkProgram (2962aca5845cdbd7a633ef3cbc6a929d.js:12295)
at GPGPUContext.createProgram (2962aca5845cdbd7a633ef3cbc6a929d.js:12933)
at Object.compileProgram (2962aca5845cdbd7a633ef3cbc6a929d.js:13205)
at 2962aca5845cdbd7a633ef3cbc6a929d.js:14649
at MathBackendWebGL.getAndSaveBinary (2962aca5845cdbd7a633ef3cbc6a929d.js:14665)
at MathBackendWebGL.compileAndRun (2962aca5845cdbd7a633ef3cbc6a929d.js:14648)
at MathBackendWebGL.conv2d (2962aca5845cdbd7a633ef3cbc6a929d.js:14564)
at environment_1.ENV.engine.runKernel.x (2962aca5845cdbd7a633ef3cbc6a929d.js:7380)
at Engine.runKernel (2962aca5845cdbd7a633ef3cbc6a929d.js:10717)
at ConvOps.conv2d (2962aca5845cdbd7a633ef3cbc6a929d.js:7380)
Both errors point to the "console.log..." and the "throw new Error..." lines below, respectively
function linkProgram(gl, program) {
callAndCheck(gl, function () { return gl.linkProgram(program); });
if (gl.getProgramParameter(program, gl.LINK_STATUS) === false) {
console.log(gl.getProgramInfoLog(program));
throw new Error('Failed to link vertex and fragment shaders.');
}
}