上一页 1 ··· 175 176 177 178 179 180 181 182 183 ··· 273 下一页
摘要: bazel build -c opt //tensorflow/contrib/android:libtensorflow_inference.so --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_to 阅读全文
posted @ 2018-02-18 19:25 bonelee 阅读(3622) 评论(2) 推荐(0)
摘要: 模型压缩 为了将tensorflow深度学习模型部署到移动/嵌入式设备上,我们应该致力于减少模型的内存占用,缩短推断时间,减少耗电。有几种方法可以实现这些要求,如量化、权重剪枝或将大模型提炼成小模型。 在这个项目中,我使用了 TensorFlow 中的量化工具来进行模型压缩。目前我只使用权重量化来减 阅读全文
posted @ 2018-02-18 19:21 bonelee 阅读(6057) 评论(2) 推荐(1)
摘要: from:http://deeplearning.lipingyang.org/tensorflow-examples-text/ TensorFlow examples (text-based) This page provides links to text-based examples (in 阅读全文
posted @ 2018-02-17 20:35 bonelee 阅读(1948) 评论(0) 推荐(0)
摘要: 使用Android Studio 可以在Android Studio中直接打开tensorflow/examples/android,但是需要配置好你的gradle、sdk、ndk gradle必须要在3.3以上版本 build_tool_version需要指定在25以上 配置好你的ndk 很重要: 阅读全文
posted @ 2018-02-14 15:09 bonelee 阅读(1415) 评论(0) 推荐(0)
摘要: Introduction to TensorFlow Lite TensorFlow Lite is TensorFlow’s lightweight solution for mobile and embedded devices. It enables on-device machine lea 阅读全文
posted @ 2018-02-14 11:02 bonelee 阅读(10736) 评论(0) 推荐(0)
摘要: eural Networks API In this document show more Understanding the Neural Networks API Runtime Neural Networks API Programming Model More About Operands 阅读全文
posted @ 2018-02-14 10:47 bonelee 阅读(3178) 评论(0) 推荐(0)
摘要: 参考:https://stackoverflow.com/questions/519633/lazy-method-for-reading-big-file-in-python 最优雅方式: file.readlines() takes in an optional size argument wh 阅读全文
posted @ 2018-02-13 12:21 bonelee 阅读(16246) 评论(0) 推荐(0)
摘要: 参考:https://github.com/tflearn/tflearn/issues/964 解决方法: 注意: 1、需要在 tflearn的model.save 前: del tf.get_collection_ref(tf.GraphKeys.TRAIN_OPS)[:] 作用:去除模型里训练 阅读全文
posted @ 2018-02-12 18:07 bonelee 阅读(6562) 评论(0) 推荐(0)
摘要: TensorFlow: How to freeze a model and serve it with a python API 参考:https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-pyth 阅读全文
posted @ 2018-02-12 16:11 bonelee 阅读(30978) 评论(1) 推荐(0)
摘要: Ubuntu16.04下配置caffe(仅CPU) 参考:http://blog.csdn.net/zt_1995/article/details/56283249 第二次配置caffe环境,依旧把之前犯过的错误重新走了一遍,不会配置的地方还是忘了,所以打算通过博客记录下来,方便以后学习使用。 1. 阅读全文
posted @ 2018-02-11 15:29 bonelee 阅读(618) 评论(0) 推荐(0)
上一页 1 ··· 175 176 177 178 179 180 181 182 183 ··· 273 下一页