Top "Tensorflow" questions

TensorFlow is an open-source library and API designed for deep learning, written and maintained by Google.

tf.shape() get wrong shape in tensorflow

I define a tensor like this: x = tf.get_variable("x", [100]) But when I try to print shape of tensor : …

python python-3.x tensorflow tensor
What's the difference of name scope and a variable scope in tensorflow?

What's the differences between these functions? tf.variable_op_scope(values, name, default_name, initializer=None) Returns a context manager …

tensorflow
How to do Xavier initialization on TensorFlow

I'm porting my Caffe network over to TensorFlow but it doesn't seem to have xavier initialization. I'm using truncated_normal …

python tensorflow
TypeError: only integer scalar arrays can be converted to a scalar index

I am trying a simple demo code of tensorflow from github link. I'm currently using python version 3.5.2 Z:\downloads\tensorflow_…

python python-3.x numpy tensorflow mnist
What's the difference between tf.placeholder and tf.Variable?

I'm a newbie to TensorFlow. I'm confused about the difference between tf.placeholder and tf.Variable. In my view, tf.…

tensorflow
Making predictions with a TensorFlow model

I followed the given mnist tutorials and was able to train a model and evaluate its accuracy. However, the tutorials …

tensorflow
No module named 'tqdm'

I am running the following pixel recurrent neural network (RNN) code using Python 3.6 import os import logging import numpy as …

python tensorflow pixel rnn tqdm
Error running basic tensorflow example

I have just reinstalled latest tensorflow on ubuntu: $ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1…

python ubuntu tensorflow
What is the difference between steps and epochs in TensorFlow?

In most of the models, there is a steps parameter indicating the number of steps to run over data. But …

machine-learning tensorflow
How could I use batch normalization in TensorFlow?

I would like to use batch normalization in TensorFlow. I found the related C++ source code in core/ops/nn_…

python tensorflow