Skip to content

[Solved] Unknown op 'TensorListFromTensor' #6

@linxi-1214

Description

@linxi-1214
Unhandled Rejection (TypeError): Unknown op 'TensorListFromTensor'. File an issue at https://github.com/tensorflow/tfjs/issues so we can add it, or register a custom execution with tf.registerOp()
▼ 22 stack frames were expanded.
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5048
executeOp$16
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5050
l
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5420
e.processStack
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5428
e.<anonymous>
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5398
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:137
next
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:150
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:57
__awaiter
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:34
e.executeWithControlFlow
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5360
e.<anonymous>
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5342
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:137
next
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:150
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:57
__awaiter
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:34
e.executeAsync
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5331
e.<anonymous>
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5601
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:137
next
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:150
(anonymous function)
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:57
__awaiter
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:34
e.executeAsync
node_modules/@tensorflow/tfjs-converter/dist/tf-converter.esm.js:5596
▲ 22 stack frames were expanded.
App._this.detectFrame
src/index.js:67
  64 | 
  65 | detectFrame = (video, model) => {
  66 |     tf.engine().startScope();
> 67 |     model.executeAsync(this.process_input(video)).then(predictions => {
     | ^  68 |     this.renderPredictions(predictions, video);
  69 |     requestAnimationFrame(() => {
  70 |       this.detectFrame(video, model);
View compiled
(anonymous function)
src/index.js:57
  54 | 
  55 | Promise.all([modelPromise, webCamPromise])
  56 |   .then(values => {
> 57 |     this.detectFrame(this.videoRef.current, values[0]);
     | ^  58 |   })
  59 |   .catch(error => {
  60 |     console.error(error);
View compiled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions