html52.com
我爱小程序-开发者交流社区

华为鸿蒙系统更新最新微信 8.0.32,TensorFlow模型加载报错?

在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)"

ect.next (miniprogram_npm/@tensorflow/tfjs-converter/index.js:17:961)"

网友回复

原则:

今天也有客户反馈这个问题,目前结论不是微信版本的问题,而是华为手机个别最新版本有这个问题

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付