Questions tagged as 'tensorflow'

1
answer

How to use tensorflow from a docker container in a container with django? Link Containers?

I need to link two containers, my main container contains django and the secondary tensorflow, I am creating the two containers with docker-compose, both are created correctly, but I need to enter the container with django and when running pytho...
asked by 06.08.2018 / 20:37
2
answers

"conda" is not recognized as an internal or external command, program or batch file executable

I am installing tensor flow for python 3.6. I'm installing it with the Anaconda method ( link ) when trying to execute this command: C:> conda create -n tensorflow python=3.5 I get this error: "conda" no se reconoce como un comando in...
asked by 15.12.2017 / 00:10
1
answer

How to install extension for GPU in tensorflow windows 8.1

I wanted to know how I can install nvidia-docker in windows, since in its documentation, it only has support for linux, if there is a guide out there that I have not found. link     
asked by 11.09.2016 / 13:29
1
answer

I can not execute Tensor Flow

I want to train my own neural network but I can not execute the example. I execute the following command: python classify_image.py And I get the following:    Traceback (most recent call last): File "classify_image.py", line   46, in    ...
asked by 16.04.2017 / 19:17
1
answer

Error importing tensorflow js in node

I want to use tensorflowjs in the terminal and I copy the code from the npm page and I get an error: (function (exports, require, module, __filename, __dirname) { import * as tf from '@tensorflow/tfjs';...
asked by 21.12.2018 / 23:32
1
answer

Error starting tensorflow tensorboard

I'm trying to start the tensorflow tensorboard. This based on a simple model. But when executing tensorboard --logdir output/ I get this error: The image shows that tf.estimator is not installed, but check that part, and if it is...
asked by 20.11.2018 / 17:30
0
answers

Unable to import name 'get_uid' (keras)

I'm trying to run keras of a github code link I get problems on the line that matters Sequentials . from keras.models import Sequential The error that appears to me: File "C:\Users\adri_\Anaconda2\lib\site-packages\ke...
asked by 05.11.2018 / 10:58
0
answers

Error: Input arrays should have the same number of samples as target arrays.Found 6400 input samples and 1600 target samples

I'm trying to do classification but I have this error import os,cv2 import numpy as np from sklearn.utils import shuffle from tensorflow.python.keras.preprocessing.image import ImageDataGenerator from sklearn.model_selection import train_test_...
asked by 26.10.2018 / 23:11
0
answers

How to create Weights automatically in Tensorflow, CNN

I tried to create weights for a CNN automatically using a for loop and a dictionary in python. The problem is that the size of W1 has to be equal to the size of W2 ... But I can not find a way of doing it. The size shape_1 is the output of nod...
asked by 15.09.2018 / 20:55
0
answers

tf.GradientTape () returns None

I am trying to calculate the gradient with tf.GradientTape. When I try to do it using as inputs the loss and Model.variables the result that returns me in an array of None. what am I doing wrong? The tensorflow version I use is 1.9. Then I le...
asked by 23.08.2018 / 23:35