
AI
文章平均质量分 65
十里倾诚
小菜鸟,做个小笔记....( ——在绝地里等待一瞬间重生 )
展开
-
tflite 源码解读
以下为鄙人读源码时做的一些粗略记录,如有不当望请多多指教(抱拳)一、源码解读(主要为多线程执行过程)。从C++ 模型声明tflite::Interpreter类型做入口1、tensorflow\lite\interpreter.ccvoid Interpreter::SetNumThreads(int num_threads) { for (auto& subgraph ...原创 2020-03-08 13:40:16 · 1955 阅读 · 0 评论 -
AttributeError: module 'tensorflow.contrib' has no attribute 'lite'
converter = tf.contrib.lite.TFLiteConverter.from_keras_model_file(keras_file_path) 出现以下错误AttributeError: module 'tensorflow.contrib' has no attribute 'lite'原因:上面写法为tensorflow1.12.0 版本,编译版本是其它版本...原创 2020-03-08 13:06:20 · 7722 阅读 · 1 评论 -
bazel 安装,编译tf-lite
下载版本:https://github.com/bazelbuild/bazel/releasesbazel 编译rensorflow lite 只能用bazel版本2.41~2.61 .。。大坑本想更新bazel版本,但发现很复杂伸手党:我用的是bazel-0.29.1-installer-linux-x86_64.sh。执行命令:...原创 2020-03-08 13:04:12 · 1575 阅读 · 1 评论 -
执行 conda env create -f environment.yml 命令时出现 ResolvePackageNotFound:
问题描述:LJXdeMBP:yad2k$ conda env create -f environment.ymlUsing Anaconda API: https://api.anaconda.orgSolving environment: failedResolvePackageNotFound: - libgcc==5.2.0=0 - qt==5.6.2=3 - dbus==1.10....原创 2018-07-05 10:48:40 · 33063 阅读 · 18 评论