tensorflow
susandebug
keep moving
展开
-
解决 NotImplementedError: fromstring() has been removed. Please call frombytes() instead.
1. 可能Pillow版本不对,运行命令:pip uninstall Pillowpip install Pillow==2.9.0 或者wget https://pypi.python.org/packages/62/7d/a6decd77e926197621ca13f63e4f37333a462e1be18a8b5928b692f7ae24/Pillow-2.9.0.tar原创 2017-07-21 15:31:06 · 3800 阅读 · 0 评论 -
Tensorboard学习——mnist_with_summaries.py ---- TensorFlow可视化
mnist_with_summaries.py如下:# Copyright 2015 Google Inc. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance原创 2017-07-19 17:55:15 · 1068 阅读 · 0 评论 -
tensorflow-MNIST机器学习入门
py文件import tensorflow.examples.tutorials.mnist.input_data as input_datamnist = input_data.read_data_sets("MNIST_data/", one_hot=True)import tensorflow as tfx = tf.placeholder(tf.float32, [No转载 2017-07-19 18:16:26 · 574 阅读 · 0 评论 -
tensorflow---深入MNIST
深入MNIST用到py文件import tensorflow as tf#导入input_data用于自动下载和安装MNIST数据集from tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("MNIST_data/", one_hot=True)转载 2017-07-19 18:31:19 · 457 阅读 · 0 评论 -
TensorFlow运作方式入门
用到的py文件1. mnist.py# Copyright 2015 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compli转载 2017-07-19 18:35:46 · 718 阅读 · 0 评论 -
Tensorflow一些常用基本概念与函数
摘要:本文主要对tf的一些常用概念与方法进行描述。1、tensorflow的基本运作为了快速的熟悉TensorFlow编程,下面从一段简单的代码开始:import tensorflow as tf #定义‘符号’变量,也称为占位符 a = tf.placeholder("float") b = tf.placeholder("float") y = tf.mul(a, b转载 2017-08-01 13:59:31 · 853 阅读 · 0 评论