Tensorflow
文章平均质量分 92
FireeLee
这个作者很懒,什么都没留下…
展开
-
Tensorflow 1.8 源码安装
Tensorflow源码安装cuda 9.2 / cudnn 7.2 / python3.5 / tensorflow 1.81. anacanda启动命令root$ source activate python3.52. cuda查看版本命令root$cat /usr/local/cuda/version.txt下载链接:https://developer....原创 2018-09-27 13:52:56 · 1811 阅读 · 0 评论 -
Orientation Rotation Model Related Links
BaseModel Structure : https://blog.csdn.net/akadiao/article/details/80456742ShuffleNet TF: https://github.com/scheckmedia/keras-shufflenet/blob/master/shufflenet.py原创 2019-03-05 10:07:23 · 97 阅读 · 0 评论 -
【TF Lite】First Example of Tensorflow Lite
Install the latest version of Bazel as per the instructions on the Bazel website.The Android NDK is required to build the native (C/C++) TensorFlow code. The current recommended version is 14b, w...原创 2019-03-22 11:25:27 · 167 阅读 · 0 评论 -
【Tensorflow Learning 】nn.l2_normalize
Learning Some thing about nn.l2_normalize , the formali in function declare as :output = x / sqrt(max(sum(x**2), epsilon))which could be declare as :output = x / |x|@tf_export("nn.l2_normalize")@...原创 2019-03-25 21:23:23 · 289 阅读 · 0 评论 -
[MobileFaceNet] MobileFaceNet tfLite converter do not support switch 问题定位。
将 Tensorflow Slim 实现的 MobileFaceNet 模型转换为 tflite 过程中,出现无法 switch 不支持的问题。通过 tensorboard 搜索 graph 中 switch 所在的位置,发现都位于 BatchNorm 中。因此在读源码过程中,抽丝剥茧,缕了一下BatchNorm 使用 switch 的过程。...原创 2019-04-09 20:50:46 · 1326 阅读 · 0 评论 -
[Keras 源码学习] MobileNetV2
最近阅读到 Keras.backend.tensorflow_backend.py 。原由是 MobileNetV2 Keras 实现的学习,阅读的版本是https://github.com/JonathanCMitchell/mobilenet_v2_keras 的实现,官方的另一个指定版本。MobilenetV2 基本上是平铺直叙,这一则是记录对实现过程中,各个网络层的调用细节。Inp...原创 2019-04-26 10:20:56 · 3188 阅读 · 0 评论 -
【性能优化】利用timeline.json观察keras+tensorflow推理时间,并提升性能。
在做OCR模型训练,感觉迭代速度有些慢,因此想要分析一下具体的GPU使用占比。1. 在训练脚本中增加timeline工具,并记录推理时间OCR的模型搭建使用的是Keras,因此不同于传统的Tensorflow 方式,需要在 model.compile()中增加profile相关配置,该阶段的操作参考了[1] 这篇文章。代码部分: # step 1: 定义 run_options...原创 2019-09-03 16:25:03 · 3132 阅读 · 4 评论