Comments (3)
我这里测试出来bug可能位置在multiheadattn上,经过self.linear(value)的linear层后,就会报“map::at: key not found”这个error
from tnn.
后续的scores = torch.matmul(query, key),同样报错。
E/tnn: virtual Status tnn::MatMulLayerResourceGenerator::GenLayerResource(LayerParam *, LayerResource **, std::vector<Blob *> &) [File source/tnn/interpreter/layer_resource_generator.cc][Line 544] [WARNNING] can't infer resource shape from MatMul param in benchmark mode, random generator may not be exactly same with the real resource!
请问有解决办法吗,onnx2tnn用的docker最新镜像,benchmark用的tnn master分支
from tnn.
clean the obsolete tnnproto in server and android before convert and benchmark, the question not emerge again
from tnn.
Related Issues (20)
- [Compilation issue]
- 编译OpenVINO 2023.1进入到TNN后,无法加载任意一个TNN的模型
- 模型转换失败
- x86_hard_swish_layer_acc.cc AVX2指令崩溃
- 能从tnn转成 onnx吗?
- iOS 无法实现多人脸 facelandmark
- 安卓多线程调用TNN动态库崩溃问题 HOT 1
- oo
- #define OPERATOR clamp(in,(FLOAT4)(1.00000e-12f),(FLOAT4)(inff))
- tensorflow SSD准换用到的anchor_data下载链接失效了能重新提供一个吗
- qq群无法加入 HOT 1
- TNN后面会考虑支持ohos吗 HOT 1
- Update pybind11 to fix `You should compile onnx2tnn first !!!`
- code: 0xA007 msg: OpenCL malloc memory failed HOT 3
- TNN yolov5s量化后输出错误
- 大佬好 ,我用arm调试TNN,我的目的是开启多线程并行调试
- 模型转换失败 invalid name for input: onnx::Gemm
- 容器的root用户密码
- 交流群满了,可以拉一下或者有新交流群吗
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 tnn.