tfjs-wechat
tfjs-wechat copied to clipboard
can't use tfjs-backend-wasm 2.0.0
TensorFlow.js 2.0.0
tfjs-wechat plugin 0.10
WeChat 7.0.13
WeChat base API 2.11.3
WeChat IDE stable 1.03.2006090
尝试使用tfjs-backend-wasm时报错:
我们点这个问题进去发现在@tensorflow/tfjs-backend-wasm/index.js里是这样写的:
这样的写法会导致cast变量undefined,所以tfjs-backend-wasm 2.0.0是不能使用(或者是不能直接使用)。那么我想问问什么时候可以支持2.0.1或者发布一下修改的2.0.0,亦或者我们是否可以使用1.x版本的 tfjs-backend-wasm
@geshu Sorry for the problem, this should be fixed in next release.
@pyu10055 ok, i see, looking forward to your next release.
@pyu10055 ok, i see, looking forward to your next release.
朋友,加个联系讨论下吗,你的webgl冲突还有这个wasm安装的问题我也碰到了(我的名字就是我的QQ号
我也遇到了这个问题 ,这个修复了吗
修复了吗?
引入import '@tensorflow/tfjs-backend-wasm'; import {setWasmPath,setWasmPaths} from '@tensorflow/tfjs-backend-wasm'; 打印setWasmPath或者setWasmPaths都为空,试了很多微信版本 可以告知需要怎么引入吗?
补充此问题,因为新版本微信已经不支持WebAssembly,并且不再支持远程wasm文件,所以wasm后端已经完全不能正常在这个环境下使用了,最新版本的后端虽然支持了WXWebAssembly,但是并没有完全修复,有个大佬提供的修复包也没能随版本发布。https://github.com/deepkolos/tfjs-wxmp-wasm-test