engine.ts:397 Uncaught (in promise) Error: No backend found in registry.
at Engine.getSortedBackends (engine.ts:397:13)
at Engine.initializeBackendsAndReturnBest (engine.ts:408:33)
at get backend (engine.ts:217:38)
at Engine.makeTensor (engine.ts:807:31)
at zeros (zeros.ts:46:17)
at Zeros.apply (initializers.ts:57:17)
at Conv2D.addWeight (topology.ts:1296:35)
at Conv2D.build (convolutional.ts:548:24)
at topology.ts:993:14
at nameScope (common.ts:48:20)
tensorflow.js
import * as tf from '@tensorflow/tfjs';
......
console.log('Using TensorFlow backend: ', tf.getBackend());
loadAndPredict();
原帖链接:https://stackoverflow.com/questions/63441878/bodypix-error-no-backend-found-in-registry