在IOS和Android上测试均能加载成功,在华为手机上就报错了
"(in promise) MiniProgramError\nCould not initialize any backends, all backend initializations failed.\nError: Could not initialize any backends, all backend initializations failed.\nat t.initializeBackendsAndReturnBest (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:36180)\nat initializeBackendsAndReturnBest (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:32653)\nat backend (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:40432)\nat makeTensor (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:58478)\nat Ht (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:57606)\nat Ut (miniprogram_npm/@tensorflow/tfjs-core/index.js:17:122690)\nat decodeWeights (miniprogram_npm/@tensorflow/tfjs-converter/index.js:17:90551)\nat loadSync (miniprogram_npm/@tensorflow/tfjs-converter/index.js:17:90278)\nat call (miniprogram_npm/@tensorflow/tfjs-converter/index.js:17:1614)\nat Object.next (miniprogram_npm/@tensorflow/tfjs-converter/index.js:17:961)"
网友回复
今天也有客户反馈这个问题,目前结论不是微信版本的问题,而是华为手机个别最新版本有这个问题