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)
- paddle什么时候支持rv1106的芯片 HOT 4
- PaddleLite在华为Ascend系列芯片上推理支持INT8或FP16推理吗,该怎么配置 HOT 1
- 模型转换报错 elementwise_add_bias_dims not equal to 1, fusion failed HOT 10
- 华为Acend310芯片使用pplite进行推理cpu解码慢,预处理慢,能借助dvpp硬解码和Aipp进行预处理吗 HOT 2
- Ubuntu编译错误 file STRINGS file /.tailored_kernels_source_list" cannot be read. HOT 2
- PaddleLite V2.10 编译鸿蒙报错 HOT 5
- YOLOV5 模型转换后运行错误 HOT 2
- libmklml_intel.so 报错 HOT 1
- Android端reload分类模型后预测改变且多个测试图片汇聚在同一类 HOT 2
- paddlie-lite推理静态库链接后推理报错 HOT 5
- 亿智SV810 NPU使用model_test报错Segmentation fault HOT 2
- Resnet50转换成nb格式转换报错 HOT 2
- Backbone:PPLCNetV2_base_ShiTu 识别模式转换失败 HOT 8
- predictor.run()之后无结果 HOT 2
- 树莓派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
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.