随笔分类 -  框架-推理-部署

摘要:因为要研究TNN如何做模型转换,因此需要编译TNN源码中的tools/onnx2tnn模块。 编译过程中,遇到一个问题: error: no match for 'operator[]' (operand types are 'const google::protobuf::RepeatedFiel 阅读全文
posted @ 2022-03-01 16:35 虔诚的树 阅读(633) 评论(0) 推荐(0)
摘要:问题背景:最近在阅读 onnxruntime 的源码,打算自行编译,该项目依赖许多第三方包(在 .gitmodule 文件中已详细列出),但是由于墙的问题,一直无法成功下载。 问题描述:执行 git submodule update --init --recursive 失败 解决方案:从 gitm 阅读全文
posted @ 2021-12-06 14:06 虔诚的树 阅读(1700) 评论(0) 推荐(0)