Hi,
I am receiving this error in the chrome browser
pose-detection:17 Uncaught (in promise) Error: WebGPU readSync is only available for CPU-resident tensors. at Yt.readSync (pose-detection:17:86437) at e.value (engine.js:1221:25) at e.value (tensor.js:411:30) at y (tfjs-converter:17:6090) at tfjs-converter:17:283731 at tfjs-converter:17:283897 at engine.js:469:20 at e.value (engine.js:480:19) at e.value (engine.js:467:17) at ko (tfjs-core:17:95606)
I am not using arraySync
or dataSync anywhere in my code that I know of.
I have tried to set the backend. Same error.
This is for a retrained movenet model.( google collab)
I am using it in the browser. It was working and giving an output and then it started giving this error with no other errors.
the retrained model is tfjs converted saved model to a graph model, though the error is pointing to the model from the pose detection file.
I am using a tf 1D tensor.
I am a beginner and don’t exactly understand everything.
Any help appreciated.
Thanks