Comments (7)
不支持,有很多native的汇编或依赖intel mkl。不要碰了
from paddle-lite.
应该有其他成熟的AI框架,支持wasm的。但是估计都是CPU的。
性能应该很烂。勉强用用。
我记得onnxruntime可以,两年前试过
from paddle-lite.
多谢,可以理解这得多麻烦,未来有打算学ncnn,抛弃掉intel mkl,自己实现一个吗?
from paddle-lite.
应该有其他成熟的AI框架,支持wasm的。但是估计都是CPU的。 性能应该很烂。勉强用用。 我记得onnxruntime可以,两年前试过
谢谢,试过ncnn,onnxruntime和opencv dnn,作为demo,性能堪用了
对我来说,网页版最大的好处是跨平台方便,一个极好的demo工具
ncnn的问题是在网页上执行paddleocr v3的时候,推理结果是错误的
opencv dnn则是不支援动态输入
onnxruntime编译成static lib后各种链接冲突
最后还是得用onnxruntime的js版本,碍于wasm的EM_JS写的函数只能在main thread调用,代码写的有点别扭
from paddle-lite.
@stereomatchingkiss wasm多线程使用,需要全局开启-s USE_PTHREAD=1 (好像是这个)
第三方库也一样
web的pthread对应的是worker
from paddle-lite.
@stereomatchingkiss wasm多线程使用,需要全局开启-s USE_PTHREAD=1 (好像是这个) 第三方库也一样 web的pthread对应的是worker
已经开启了,QThread, std::thread的调用都没问题
但是不能在main thread之外呼叫EM_JS实现的函数
emscripten目前规定必须在main thread内呼叫
from paddle-lite.
之前已经支持 Emscripten 的编译,具体可以看下这个 PR #8985
from paddle-lite.
Related Issues (20)
- 树莓派4b上跑自己的nb模型结果图片没有识别框 HOT 7
- 使用经过paddle-lite-opt优化后的模型,在压测环境下报错(fread(dst, 1, size, file_) == size): 0!==262288 Failed to read 262288 bytes. HOT 4
- V4 OCR的检测模型,导出为atlas格式后,无法跑在atlas 300ipro上 HOT 1
- arm的推理结果正确,opencl的结果不正确,请问如何做逐层的精度对比分析? HOT 3
- Object Detection运行run脚本的时候报错 HOT 6
- 华为Atlas300I(3010,昇腾310)安装Paddle-Lite运行例程出错 HOT 4
- Paddle-Lite通过X2Paddle转化出的nb模型出错 HOT 2
- [BUG] sort_cpuid_by_max_freq()中的bubble sort代码逻辑错误 HOT 4
- 基于Paddle Lite框架下的编译问题 HOT 3
- Android端推理LightGlue模型crash了 HOT 1
- ubuntu 22.04 x64 编译paddle-lite x86出错 lite/CMakeFiles/publish_inference.dir/rule HOT 2
- .pdmodel转换.nb失败,报错Check failed: it != outputs_.end(): HOT 18
- 3399 编译with_opencl后运行示例mobilenetv1_light_api显示不支持opencl HOT 1
- 使用华为NPU推理pp-yoloe-r模型报错,提示cann版本不匹配 HOT 15
- could not create a descriptor for a pooling forward propagation primitive HOT 1
- "树莓派5 编译错误"- v2.13 编译报错、环境信息: (Linux raspberrypi 6.6.28+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux) HOT 21
- 预编译库的V2,12下载的压缩包里没有找到python,我要怎么继续下一步得到python--->install--->dist--->paddlelite-*.whl HOT 1
- "树莓派5 编译错误"- v2.13 编译报错 cd09a8e01、环境信息:(Debian arm64 ----armv8 ) ,经检查“cd09a8e01”是git describe --always 值 HOT 3
- 编译无法生成inference_lite_lib.armlinux.armv8.opencl包 HOT 5
- Linux x86平台推理Paddle-OCRv4出错 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle-lite.