![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
文章平均质量分 65
zhuiqiuk
这个作者很懒,什么都没留下…
展开
-
Tensorboard使用
参考网站:https://www.jb51.net/article/134956.htm 较好背景在复杂的问题中,网络往往都是很复杂的。为了方便调试参数以及调整网络结构,我们需要将计算图可视化出来,以便能够更好的进行下一步的决策。Tensorflow提供了一个TensorBoard工具,可以满足上面的需求。介绍TensorBoard是一个可视化工具,能够有效地展示Tensorf...转载 2019-04-18 16:17:54 · 23872 阅读 · 0 评论 -
android工程如何使用tensorflow
參考工程:https://github.com/miyosuda/TensorFlowAndroidMNIST1.在python中訓練完模型後,使用tf.train.write_graph(graph_def, './tmp/beginner-export', 'beginner-graph.pb', as_text=False)存儲模型。转载 2016-11-15 18:19:16 · 2527 阅读 · 0 评论 -
Steps to reproduce freeze_graph
Copy the IPython Notebook from hereChange sample_prediction = tf.nn.softmax(tf.nn.xw_plus_b(sample_output, w, b)) tosample_prediction = tf.nn.softmax(tf.nn.xw_plus_b(sample_output, w, b), name="samp转载 2016-11-18 21:13:55 · 1888 阅读 · 0 评论 -
Tensorflow model on Android workflow
6down votefavorite3I'm trying to figure out the workflow for training and deploying a Tensorflow model on Android. I'm aware of the other questions similar to this one on StackOverfl转载 2016-11-18 14:41:33 · 1278 阅读 · 0 评论 -
output_node = graph_pb2.NodeDef() AttributeError: 'module' object has no attribute 'NodeDef'
tensorflow 0.11版运行 freeze_graph.py 出现 output_node = graph_pb2.NodeDef() AttributeError: 'module' object has no attribute 'NodeDef'这个问题时,请将 freeze_graph.py中的from tensorflow.python.client import原创 2016-11-30 14:18:12 · 2281 阅读 · 0 评论 -
UnsupportedWheel: tensorflow-0.11.0rc2-cp27-cp27mu-linux_x86_64.whl #5415
Hi all,I'm updating my tensorflow from r0.10 to r0.11 or the master, but after I run the cmd:bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkgI just got a tensorflow-转载 2016-11-30 13:44:52 · 2669 阅读 · 0 评论 -
tensorflow(三) 模型保存
tensorflow最简单的保存与加载模型的方法是Saver对象(存放在tensorflow.train)。构造器给graph所有的变量,或者定义在列表中的变量,添加save和restore的操作,分别为保存和加载。变量保存在二进制的文件中,主要包含的是从变量名到tensor值的映射关系。保存变量 通过下面的一段代码穿件Saver对象来管理模型中的变量(默认情况下是所有的变量,也可以自转载 2016-11-14 09:21:20 · 925 阅读 · 0 评论 -
Github上Stars最多的53个深度学习项目,TensorFlow遥遥领先
时间 2016-08-12 12:39:43 CSDN原文 http://geek.csdn.net/news/detail/94963主题 TensorFlow 神经网络 GitHub对于深度学习工作者而言,大量的开源项目避免了很多重造轮子的工作,降低了算法实现门槛。本文盘点了在Github上获得Stars最多的深度学习项目,供从业者参考。并感谢这些开源爱好者的贡转载 2016-11-14 09:11:50 · 1510 阅读 · 0 评论 -
运行tensorbox出现from stitch_wrapper import stitch_rects ImportError: /usr/lib/x86_64-linux-gnu/libstdc+
需要在当前电脑上重新编译https://github.com/Russell91/TensorBox的utils$ git clone http://github.com/russell91/tensorbox$ cd tensorbox$ ./download_data.sh$ cd /path/to/tensorbox/utils && make && cd ..(使原创 2016-11-29 13:51:46 · 1902 阅读 · 3 评论 -
How to use tf.train.write_graph() and tf.import_graph_def()
如何寫圖,讀圖。How to use tf.train.write_graph() and tf.import_graph_def()? It seems that it does not work.Please refer the following codes and prints, the final result is None, but it is expecte转载 2016-11-21 18:37:12 · 7437 阅读 · 0 评论 -
tensorflow 较大asset 资源 .pb jni_utils.cc:123 Check failed: message->ParseFromArray(memory, data_size)
android asset中放置较大的 资源时会压缩资源,造成 读取时失败。 .pb jni_utils.cc:123 Check failed: message->ParseFromArray(memory, data_size)在读入tensorflow的图模型.pb文件时,较大。需要在android工程的build.gradle android {aaptOption原创 2016-12-06 19:07:07 · 2204 阅读 · 1 评论 -
将tensorflow训练好的模型移植到android
https://github.com/CrystalChen1017/TSFOnAndroid说明本文将描述如何将一个训练好的模型植入到android设备上,并且在android设备上输入待处理数据,通过模型,获取输出数据。 通过一个例子,讲述整个移植的过程。(demo的源码访问github上了https://github.com/CrystalChen1017/TSFOnAndr转载 2017-09-10 22:43:41 · 1229 阅读 · 0 评论 -
tensorflow 编译 so
https://www.tensorflow.org/install/install_sources原创 2017-09-04 14:52:00 · 1375 阅读 · 0 评论 -
tf.py_func errors in freeze_graph
I use tf.py_func in my networks, and it works fine in training and test mode. Then I runbazel-bin/tensorflow/python/tools/freeze_graph to freeze the graph and generate xxx.pb file.I try to restore原创 2017-08-11 21:44:00 · 3141 阅读 · 8 评论 -
Build TensorFlow for armeabi-v7a and arm64-v8a
Prepare your machine https://www.tensorflow.org/versions/r0.11/get_started/os_setup.html#installing-from-sourcesgit clone --recursive https://github.com/tensorflow/tensorflow.gitEdit the WORKSPACE转载 2017-01-14 21:06:01 · 6683 阅读 · 1 评论 -
Caffe学习(1):Ubuntu16.04上Caffe配置安装(Only CPU)
常说天作孽犹可违,人作孽不可活啊,那为了毕设,我就是作死啊。没办法自己从三月份辞掉实习开始断断续续学习深度学习,才明白入坑虽浅,基情不断啊。为了能够完成毕设,便选了Caffe,也到处都是坑啊。没办法,为了祭奠我那糟糕透顶的记忆脑细胞,用我这糟糕的文笔稍微记录一下吧。首先想吐槽一下,我的电脑没有Nvidia,没有Nvidia,没有Nvidia,重要的事情说三篇。在这上面就耽误了好几天。转载 2016-11-03 21:49:09 · 666 阅读 · 0 评论 -
tensorflow 出现ImportError: cannot import name graph_util
from tensorflow.python.frameworkimport graph_util此句出现错误ImportError: cannot import name graph_util将此句修改为CHANGEfrom `tensorflow.python.framework import graph_util`TOfrom `tensorflow.pyt转载 2016-11-28 15:10:04 · 6779 阅读 · 2 评论 -
tensorflow存储图和训练的权重为.pb,然后读取.pb并使用
(1)tensorflow存储图和训练好的权重from __future__ import absolute_import, unicode_literalsimport input_dataimport tensorflow as tfimport shutilimport os.pathexport_dir = './tmp/expert-export'if os.pa原创 2016-11-28 13:24:29 · 25212 阅读 · 4 评论 -
tensorflow从0开始(6)——保存加载模型
目的学习tensorflow的目的是能够训练的模型,并且利用已经训练好的模型对新数据进行预测。下文就是一个简单的保存模型加载模型的过程。保存模型import tensorflow as tfimport osimport numpy as npfrom tensorflow.python.platform import gfileflags = tf.app转载 2016-11-28 13:14:44 · 4915 阅读 · 0 评论 -
import tensorflow.contrib.slim as slim ImportError: No module named slim
import tensorflow.contrib.slim as slim ImportError: No module named slim处理方法参考网站https://github.com/tensorflow/models/tree/master/slimInstalling latest version of TF-slimexport TF_BINAR转载 2016-11-29 13:31:53 · 15856 阅读 · 1 评论 -
Ubuntu 14.04 安装 JDK 8,ubuntu14.04(h用 ok))
Ubuntu 14.04 安装 JDK 8,ubuntu14.04第一步,下载Linux版JDK可以通过访问Oracle官网下载,或者直接通过命令行下载。lxh@ubuntu:~$ wget -c http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-i586.tar.gz第二步,解压转载 2016-11-01 12:15:39 · 349 阅读 · 0 评论 -
MNIST机器学习入门 程序与操作
1. ubuntu terminal2.创建一个code目录mkdir tensorflow_code3.进入tensorflow_codecd tensorflow_code4.创建tensorflow mnist代码文件test_mnist.pytouch test_mnist.py5.编辑test_mnist.pygedit test_mnist.py6.原创 2016-11-01 10:31:09 · 17856 阅读 · 3 评论 -
windows docker安装 tensorflow
捣鼓好了windows docker安装,参考了楼上的许多信息。1. 安装docker2. 点开Docker Quickstart Terminal, 打开成功后: docker is configured to use the default machine with IP 192.168.99.1003. 安装tensorflow: docker run -d -p 8888:8转载 2016-10-31 09:32:59 · 976 阅读 · 0 评论 -
Docker-Toolbox常见问题解决方案
Docker Toolbox常见错误解决方案原文:https://docs.docker.com/faqs/troubleshoot/错误1 Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certifi转载 2016-10-30 20:31:28 · 23247 阅读 · 0 评论 -
Tensorflow一些常用基本概念与函数(1)
摘要:本文主要对tf的一些常用概念与方法进行描述。1、tensorflow的基本运作为了快速的熟悉TensorFlow编程,下面从一段简单的代码开始:import tensorflow as tf #定义‘符号’变量,也称为占位符 a = tf.placeholder("float") b = tf.placeholder("float") y = tf.mul(转载 2016-11-11 09:14:38 · 1728 阅读 · 0 评论 -
在Windows上玩TensorFlow(一)——安装Docker
欢迎转载,转载请在醒目处注明出处,Ron’s Blog: http://www.neilron.xyz/set-up-docker-on-windows/“谷歌”+“深度学习”,两个标签让2015年12月才由谷歌开源的深度学习工具TensorFlow在其发布之后就迅速地成为了全球最为炙手可热的开源项目,2016年4月,开源的TensorFlow又支持了分布式特性,向着生产环境下的应用更进一转载 2016-10-30 16:30:06 · 631 阅读 · 0 评论 -
tensorflow 参考网站与资料
1、极客学院 TensorFlow 官方文档中文版 :http://wiki.jikexueyuan.com/project/tensorflow-zh/2、tensorflow源码:https://github.com/tensorflow/tensorflow原创 2016-10-30 11:51:08 · 622 阅读 · 0 评论 -
Tensorflow 官方版教程中文版
2015年11月9日,Google发布人工智能系统TensorFlow并宣布开源,同日,极客学院组织在线TensorFlow中文文档翻译。一个月后,30章文档全部翻译校对完成,上线并提供电子书下载,该文档的上线为国内外使用中文学习TensorFlow的工程及研究人员提供了更快的访问速度和更好的阅读体验,助力中国AI技术与世界同步。在线阅读地址为:http://wiki.jikexueyuan.co转载 2016-10-30 11:50:16 · 437 阅读 · 0 评论 -
tensorBox 運行總結與問題處理
1.cd /path/to/tensorbox/utils && make appear issue: g++:error stitch_wrapper.cpp: no such file or directory解決方法:文件路徑中不能有中文。要將ubuntu系統設置位English2.AttributeError: 'module' object has no原创 2016-11-10 15:22:41 · 1837 阅读 · 0 评论 -
TensorFlow Android Camera Demo(Ubuntu Trusty 14.04 LTS)
第一部分Tensorflow重要学习资料 英文官网 中文社区 极客学院 Tensorflow Github0 资料介绍Tensorflow Mobile 官网:https://www.tensorflow.org/mobile.htmlGithub–Android Camera Demo Github:https://gith转载 2016-11-03 14:36:22 · 1350 阅读 · 1 评论 -
在linux的终端怎么退出python命令行
Python 2.7.7 (default, Jun 3 2014, 01:46:20) [GCC 4.9.0 20140521 (prerelease)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> quitUse quit() or Ctrl-D (i.e. EOF)转载 2016-10-31 09:59:12 · 15233 阅读 · 0 评论 -
Windows下使用TensorFlow
上一篇日志(http://www.cnblogs.com/huidong/p/5426556.html)写了如何在Windows下安装Docker,并且在VM上安装TensorFlow。在Window下每次启动TensorFlow略麻烦,就是每次都要保证启动VM。比如我的VM的名字叫vdocker,那么启动它并且regenerate证书需要用。$docker-machine sta转载 2016-10-31 13:04:11 · 1487 阅读 · 0 评论 -
Convolutional Networks for MNIST in Tensorflow
写在前面本文介绍了使用TensorFlow在MNIST数据集上构建基础的卷积神经网络来实现识别手写字符的任务,包括:{两层的卷基层}+{一层relu的全链接层}+{一层softmax的全链接层}。由于结构简单,代码清晰,文章整体就以代码走向为主,阅读省力省事。1. Load MNIST Data# load MNIST datafrom tensorflow.examples转载 2016-11-01 10:14:11 · 479 阅读 · 0 评论 -
tensorflow从0开始——保存加载模型
目的学习tensorflow的目的是能够训练的模型,并且利用已经训练好的模型对新数据进行预测。下文就是一个简单的保存模型加载模型的过程。保存模型import tensorflow as tfimport osimport numpy as npfrom tensorflow.python.platform import gfileflags = tf转载 2016-11-12 17:49:35 · 6711 阅读 · 0 评论 -
YOLO_tensorflow-master运行与参考记录 模型保存与运行
YOLO_tensorflow-master代码下载:https://github.com/gliese581gg/YOLO_tensorflow1.模型介绍YOLO_tensorflow(Version 0.2, Last updated :2016.02.16)1.IntroductionThis is tensorflow implementation o原创 2016-11-28 17:56:22 · 13395 阅读 · 6 评论 -
在安卓上运行 TensorFlow:让深度学习进入移动端
本文授权转自OReillyData如果你关注我的前一篇帖子,并按照其中的内容实践,你可能已经学会了如何在 Linux 上安装一个 GPU 加速的 TensorFlow,并构建了你自己的图像分类器。老实讲,在笔记本上对图片进行分类是很花时间的:需要下载分类用的图片,并在终端里输入很多行命令来运行分类。不过,尽管没有很多的公开资料,好消息是你也可以在有摄像头的手机上运行 Tensofr转载 2016-11-12 11:24:29 · 6592 阅读 · 0 评论 -
基于Anaconda安装tensorflow
Anaconda 是一个集成许多第三方科学计算库的 Python 科学计算环境,Anaconda 使用 conda 作为自己的包管理工具,同时具有自己的计算环境,类似 Virtualenv.和 Virtualenv 一样,不同 Python 工程需要的依赖包,conda 将他们存储在不同的地方。 TensorFlow 上安装的 Anaconda 不会对之前安装的 Python 包进行覆盖.转载 2016-10-31 17:45:15 · 4922 阅读 · 0 评论 -
真正从零开始,TensorFlow详细安装入门图文教程!
AI这个概念好像突然就火起来了,年初大比分战胜李世石的AlphaGo成功的吸引了大量的关注,但其实看看你的手机上的语音助手,相机上的人脸识别,今日头条上帮你自动筛选出来的新闻,还有各大音乐软件的歌曲“每日推荐”……形形色色的AI早已进入我们生活的方方面面。深刻的影响了着我们,可以说,这是一个AI的时代。其实早在去年年底,谷歌就开源了其用来制作AlphaGo的深度学习系统Tensorflow转载 2016-10-31 16:55:51 · 1037 阅读 · 0 评论 -
windows系统下Python环境的搭建
1、首先访问http://www.python.org/download/去下载最新的python版本。 2、安装下载包,一路next。 3、为计算机添加安装目录搭到环境变量,如图把python的安装目录添加到pth系统变量中即可。 4、测试python安装是否成功,cmd打开命令行输入 python 命令,如下图即成功了转载 2016-10-31 13:58:50 · 313 阅读 · 0 评论 -
Eclipse配置PyDev插件
安装python解释器安装PyDev:首先需要去Eclipse官网下载:http://www.eclipse.org/,Eclipse需要JDK支持,如果Eclipse无法正常运行,请到Java官网下载JDK安装:http://www.oracle.com/technetwork/java/javase/downloads。打开Eclipse,找到Help菜单栏,进转载 2016-10-31 13:55:50 · 249 阅读 · 0 评论