TensorFlow
文章平均质量分 72
zihaozhang9
这个作者很懒,什么都没留下…
展开
-
tensorflow模型保存读取
模型保存读取参考 TensorFlow 模型保存/载入的两种方法 TensorFlow保存或加载训练的模型 模型参数保存 保存时会把你里边定义的所有变量保存,W和b都会保存 import tensorflow as tf import numpy as np W = tf.Variable([[1,2,3],[3,4,5]], dtype=tf.float32, name='wei...原创 2018-08-06 11:42:40 · 6924 阅读 · 0 评论 -
Pyinstaller 打包 tensorflow识别视频中的车辆程序 的错误
成功时版本:win10 python3.6 tensorflow1.4 keras2.0.8 pyinstaller3.3.1 我的pyinstaller是直接用pip安装的: pip install pyinstaller 如果想和我安装相同的版本可以这样: pip install pyinstaller==3.3.1 使用时就直接一句话就可以把.py的程序打包成一个执行...原创 2018-09-11 09:47:44 · 3154 阅读 · 13 评论 -
tensorflow 量化 bazel编译quantize_graph失败
参考【TensorFlow】quantization量化中的二 代码地址:https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/quantize/python/quantize_graph.py curl http://download.tensorflow.org/models/image/imag...原创 2019-03-16 10:54:38 · 1492 阅读 · 6 评论