TensorFlow Multiple Import Errors

First Time installing Tensor flow and when trying to import i am receiving multiple errors as below. OS: Win7 x64 Installation method: Native Installation result: Success Python Version: 3.5.2 Following youtube video for installation :https://www.you

Reshape problems in the GAN discriminator (Tensorflow)

I was trying to implement various GANs in Tensorflow (after doing it successfully in PyTorch), and I am having some problems while coding the discriminator part. The code of the discriminator (very similar to the MNIST CNN tutorial) is: def discrimin

tensorflow: [NOT FOUND] error in RStudio

I tried running the following code in RStudio: library(tensorflow) x_data <- runif(100, min=0, max=1) y_data <- x_data * 0.1 + 0.3 W <- tf$Variable(tf$random_uniform(shape(1L), -1.0, 1.0)) But the last line is throwing the following error: Error:

value prediction with tensorflow and python

I have a data set which contains a list of stock prices. I need to use the tensorflow and python to predict the close price. Q1: I have the following code which takes the first 2000 records as training and 2001 to 20000 records as test but I don't kn

Error - Unable to Power Form X Value for Tensor

I've run all the examples on the Tensorflow page, using the MNIST database. Now I'm trying to run my own example and I really just don't get it. Say I have this csv table: It has like 5000 rows. and the last column is the label for each row, this one

Google Cloud ML FAILED_PRECONDITION

I am trying to use Google Cloud ML to host a Tensorflow model and get predictions. I have a pretrained model that I have uploaded to the cloud and I have created a model and version in my Cloud ML console. I followed the instructions from here to pre

Slice a tensor using indices in Tensorflow

Basically I have a 2d array and I want to do this nice numpy-like thing noise_spec[:rows,:cols] in Tensorflow. Here rows and cols are just two integers.Indeed, TensorFlow now has better support for slicing, so you can use the exact same syntax as Num

ImportError: no module named data_utils

I'm extremely new to python and I'm recently trying to understand more about Machine Learning and Neural Nets I know this is a trivial question but I seem to be having problem importing data_utils on jupyter notebook. Can anyone please help Note: I a

Object 'module' has no 'SummaryWriter' attribute

I'm using Tensorflow version 0.12.head with Python 2.7 on a linux CentOS 7 and when I run this: import tensorflow as tf a = tf.constant(5, name="input_a") b = tf.constant(3, name="input_b") c = tf.mul(a, b, name="mul_c") d =

Tensorboard incorporations do not display tensors?

Tensorboard provides embedding visualization of tensorflow variables by using tf.train.Saver(). The following is a working example (from this answer) import os import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from te

Export neural network weights using tensorflow

I wrote neural-network using tensorflow tools. everything working and now I want to export the final weights of my neural network to make a single prediction method. How can I do this?You will need to save your model at the end of training by using t

Example of Tensorflow for Android

Tensorflow has provided this tutorial as an example for using tensorflow on Android apps. I have successfully built the app and launched it on my device. I read the code as well. But I can't figure out where to go from here! I have a tensorflow code

Keras Maxpooling2d layer gives ValueError

I am trying to replicate VGG16 model in keras, the following is my code: model = Sequential() model.add(ZeroPadding2D((1,1),input_shape=(3,224,224))) model.add(Convolution2D(64, 3, 3, activation='relu')) model.add(ZeroPadding2D((1,1))) model.add(Conv

WideNDeep Tutorial Code

Concerning this line of code in the WideNDeep tutorial: m.fit(input_fn=lambda: input_fn(df_train), steps=FLAGS.train_steps) What is the batch_size used for training the deep model? Presently, it seems to me that the model is not batch_trained? Is the

Bounding boxes using tensorflow and inception-v3

Is it possible to have bounding boxes prediction using TensorFlow? I found TensorBox on github but I'm looking for a better supported or maybe official way to address this problem. I need to retrain the model for my own classes.It is unclear what exa

Tensorflow: How to give scope to variables

I have to first pretrain a network before training it. I do this using code in separate files with their own sessions, but the variables from the first session are still getting carried over and causing problems (as I'm running both these files withi

Install tensorflow on Windows with anaconda

I am trying to install Tensorflow on my Windows PC. Since I have already install and used Anaconda on Python (3.5), I have followed the instructions https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#anaconda-environment-installation

Gradients of logical operators in Tensorflow

I'm trying to create a very simple binary classifier in Tensorflow on generated data. I'm generating random data from two separate normal distributions. Then I will classify the resulting data to a binary class if it it less than or greater than a nu

Build a conversational model using TensorFlow

I'd like to build a conversational modal that can predict a sentence using the previous sentences using TensorFlow LSTMs . The example provided in TensorFlow tutorial can be used to predict the next word in a sentence . https://www.tensorflow.org/ver

How to see the values ​​in the tensor using skflow

I've checked How to print the value of a Tensor object in TensorFlow?. However doesn't seem to be working out of the box with skflow. E.g. tried like this : with tf.Session(): word_vectors = skflow.ops.categorical_variable(X_test[0], n_classes=n_word

Theano Dimshuffle equivalent in Google's TensorFlow?

I have seen that transpose and reshape together can help but I don't know how to use. Eg. dimshuffle(0, 'x') What is its equivalent by using transpose and reshape? or is there a better way? Thank you.There are three relevant ops for implementing Thea

Running a Tensorflow model on Android

I'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 StackOverflow, but none of them seem to address the problems I've run into. After studying the And