Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use tfjs-backend-wasm 2.0.0 #72

Open
geshu opened this issue Jul 2, 2020 · 7 comments
Open

can't use tfjs-backend-wasm 2.0.0 #72

geshu opened this issue Jul 2, 2020 · 7 comments

Comments

@geshu
Copy link

geshu commented Jul 2, 2020

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时报错:
image
我们点这个问题进去发现在@tensorflow/tfjs-backend-wasm/index.js里是这样写的:
image
这样的写法会导致cast变量undefined,所以tfjs-backend-wasm 2.0.0是不能使用(或者是不能直接使用)。那么我想问问什么时候可以支持2.0.1或者发布一下修改的2.0.0,亦或者我们是否可以使用1.x版本的 tfjs-backend-wasm

@pyu10055
Copy link
Collaborator

pyu10055 commented Jul 2, 2020

@geshu Sorry for the problem, this should be fixed in next release.

@geshu
Copy link
Author

geshu commented Jul 3, 2020

@pyu10055 ok, i see, looking forward to your next release.

@1161735054
Copy link

@pyu10055 ok, i see, looking forward to your next release.

朋友,加个联系讨论下吗,你的webgl冲突还有这个wasm安装的问题我也碰到了(我的名字就是我的QQ号

@YouSmart2016
Copy link

我也遇到了这个问题 ,这个修复了吗

@BingXiong1995
Copy link

修复了吗?

@Fujitomy
Copy link

引入import '@tensorflow/tfjs-backend-wasm';
import {setWasmPath,setWasmPaths} from '@tensorflow/tfjs-backend-wasm';
打印setWasmPath或者setWasmPaths都为空,试了很多微信版本
可以告知需要怎么引入吗?

@EVA09
Copy link

EVA09 commented Aug 29, 2022

补充此问题,因为新版本微信已经不支持WebAssembly,并且不再支持远程wasm文件,所以wasm后端已经完全不能正常在这个环境下使用了,最新版本的后端虽然支持了WXWebAssembly,但是并没有完全修复,有个大佬提供的修复包也没能随版本发布。https://github.com/deepkolos/tfjs-wxmp-wasm-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants