Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tensorflow]

For questions related to Google's open source library for machine learning and machine intelligence.

0
votes
0answers
5 views

Can't get the right shape for tf.squared_difference

My train data has a shape X_train.shape is (111453, 400, 5) and Y_train.shape is (111453,1) I have 3 layers and the output layer ...
0
votes
1answer
19 views

Tensorflow - finding the right model on my use case

I can do this use case using purely java, levenshtein algorithm and some ratio and proportion, but my instructor wants to implement it as tensorflow, but I am having a hard time figuring out what to ...
-1
votes
0answers
12 views

Data augmentation with ImageDataGenerator in Keras - Python

I have tried to use imageDataGenerator for data augmentation for following cnn wich i need to train for 5 different image classes. When i run this code, following error occurred. "Traceback (most ...
1
vote
1answer
29 views

Can we combine multiple different neural networks in one?

I want to make a kind of robotic brain i.e. a big neural network, which includes NLP model (for understanding human voice) , real-time object recognition (so it can identify particular object), face ...
0
votes
1answer
28 views

Is 1mb an acceptable memory size for images being trained in a CNN?

I am using Tensorflow CNN to build an image classification/prediction model. Currently all the images in the dataset are each about 1mb in size. Most examples out there use very small images. The ...
4
votes
2answers
3k views

How fast is TensorFlow compared to self written neural nets?

I made my first neural net in C++ without any libraries. It was a net to recognize numbers from the MNIST dataset. In a 784 - 784 - 10 net with sigmoid function and 5 epochs with each 60000 samples, ...
-1
votes
1answer
30 views

How to visualize the time complexity for training a Neural Network

I want to compare the time complexity of two deep neural networks, but I have no idea how to go about it. How do I graphically achieve that with respect to the number of iterations, accuracy or any ...
4
votes
2answers
87 views

Can neuro-evolution of augmenting topologies (NEAT) neural networks be built in TensorFlow?

I am making a machine learning program for time series data analysis and using NEAT could help the work. I started to learn TensorFlow not long ago but it seems that the computational graphs in ...
0
votes
0answers
37 views

Is my cart-pole agent behavior expected under these circumstances?

I'm trying to solve the cart-pole problem from Open-AI. For this task I'm using a one step actor-critic algorithm. The purpose of this implementation is mainly to study. For this reason I'm using a ...
1
vote
0answers
59 views

How many episodes does it take for a vanilla one-step actor-critic agent to master the OpenAI BipedalWalker-v2 problem?

I'm trying to solve the OpenAI BipedalWalker-v2 by using a one-step actor-critic agent. I'm implementing the solution using python and tensorflow. I'm following this pseudo-code taken from the book ...
0
votes
1answer
73 views

Automatic prediction of whether a customer will come into the shop or not

So as my university project I am planning to make a prediction system as described in the title. My current idea is to use the age/gender classifier and run it on a video(taken in front of a shop) ...
3
votes
1answer
42 views

What exactly does “channel” refer to in tensorflow/lucid?

Tensorflow/Lucid is able to visualize what a "channel" of a layer of a neural network (image recognition, Inception-v1) responds to. Even after studying the tutorial, the source code, the three ...
-1
votes
1answer
40 views

Simple Object Detection

I want to create a simple Object detection tool. So basically an Image will be provided to the tool and from that, it has to detect the number of objects. For eg An image of a dining table which ...
1
vote
0answers
16 views

Sequence to sequence machine learning / NMT - converting numbers into words

I want to do some sequence to sequence modelling on source data that looks like this: /-0.013428/-0.124969/-0.13435/0.008087/-0.269241/-0.36849/ with target data ...
2
votes
0answers
15 views

Using two generative adversarial nets to classify articles - what is a good approach?

I'm trying to create a deep learning network to classify news article based on the text and associated image. The idea comes from a novel use of GANs to classify based on generated data. My approach ...
4
votes
1answer
169 views

Training a CNN from scratch over COCO dataset

I am using Tensorflow Object Detection API for training a CNN from scratch on COCO dataset. I need to use this specific configuration. There is no pre-trained model on COCO with that configuration and ...
-1
votes
2answers
52 views

Training problem with deep neural network model

I am using TensorFlow's Adam optimizer and ReLu activation. But each time I train my model the cost becomes stagnant after some epochs. Can any one help me out with the possible reasons I have added ...
4
votes
1answer
81 views

Identifying car model via deep learing

Is there any project or example for a software identifying cars? Situation: I got multiple angle shots in high resolution from a car. I want the algorithm to tell me "This is a Mercedes SLK" or "This ...
1
vote
0answers
46 views

How will AlphaGo be implemented in Tensorflow.js?

AlphaGo is eventually going to be implemented in Tensorflow.js. How to tackle the change of functionality that the new JavaScript language will bring?
3
votes
2answers
434 views

Can LSTM Nets be speed up by GPU?

I am training LSTM Nets with Keras on a small mobile GPU. The speed on GPU is slower then on CPU. I found some articles that say that it is hard to train LSTMs (RNNs) on GPUs because the training ...
3
votes
5answers
480 views

CNN with OpenCV

I have practiced building cnn for image classification with tensorflow, luckily to me they have very good library documentation and tutorials. But i found that tensorflow is too complicated, building ...
1
vote
1answer
41 views

What YOLO algorithm can I use for images with noise as I will implement it in real time

I want to detect drivers with, or without seatbelts at cross roads and for that, as it is real time, I am going to use yolo algorithm. For training data sets (the images) I need to collect, I placed a ...
2
votes
0answers
117 views

Reinforcement Learning in Commercial Strategy Games

I'm a professional game developer investigating the potential for using reinforcement learning to build strategy game AI opponents that have more creative behavior compared to traditional techniques ...
5
votes
1answer
112 views

Issue with simple game AI

A few months ago I made a simple game that is similar to the dinosaur game in Google Chrome - you jump over obstacles, or don't jump over levitating obstacles, and jump to collect bitcoins, which can ...
1
vote
2answers
63 views

Classifying non-labeled data with high dimensionality

Disclaimer: I am a novice in the world of machine learning, so please excuse my ignorance. My dataset consists of things like age, days since last visit, etc. This information is medical related. ...
3
votes
1answer
391 views

Detecting license plate using tensorflow

I'm currently working on license plate recognition. My system consist of 2 stage: (1) License Plate region extraction & (2) License Plate region recognition. I'm doing (1) with Raspberry pi 3 ...
5
votes
3answers
583 views

TensorFlow batch learning

I used the example at - https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/5_DataManagement/tensorflow_dataset_api.py - to create my own classification model. I used different ...
1
vote
0answers
106 views

How To Improve This Sentiment Analysis Model

A.I Community, this is my first post on here I am currently reading, learning and designing models. At the moment I'm working on this sentiment analysis tool; from what I gather sentiment analysis can ...
1
vote
0answers
36 views

How to create a task-graph based neural network?

I'm trying to design a neural network with a task hierarchy. This is my idea so far: ...
6
votes
1answer
259 views

Meaning of evaluation metrics in Tensorflow

I am pretty much a beginner in Tensorflow and simply follow a tutorial. There is no problem with my code, but I have a question regarding the output ...
1
vote
0answers
107 views

How to set Stride,Filter size in Tensorflow for 1-D signals?

I am trying to implement CNN using tensorflow on temporal accelrometer signal. I have signal values segmented on every 10ms (200 samples). I want to perform 1-D convolution (...
0
votes
1answer
28 views

Can TensorFlow minimize “symbolically”

From https://stackoverflow.com/questions/36370129/does-tensorflow-use-automatic-or-symbolic-gradients, I understood TensorFlow requires all the operations in the Graph to be explicit formulas (instead ...
2
votes
1answer
215 views

How do you handle multiple categorical values in a single column for wide_deep model in tensorflow?

To start, let me just say that I am very new to tensorflow and Machine Learning in general. But, as part of my learning project I am trying to adapt the tensorflow wide and deep model to generate ...
2
votes
0answers
171 views

Getting worse performance when training a pre-trained model with the existing class

I am training pre-trained SSD-InceptionV2-Coco to detect the "car", which is one of the classes in mscoco label. I train the model with ~50k sample from KITTI, 500k iteration with batch size 2. I ...
0
votes
0answers
23 views

Being able to see how tensorflow “weighs” features in classifier

Say you follow a tutorial on the tensorflow website for a wide and deep model (https://www.tensorflow.org/tutorials/wide_and_deep) I create a model based on the US census data to predict whether or ...
1
vote
0answers
55 views

Is there a way to send data from Tensorflow to Arduino via Bluetooth? [closed]

I am not sure if such a question is accepted here. If not please direct me to a more suitable Exchange. I am planning a small project involving Machine Learning using TensorFlow and Python, which ...
0
votes
0answers
73 views

Training with unbalanced positive *and negative* data

I am interested in using Keras / Tensorflow to self-train a neural net how to behave in a random environment with real-time feedback from a series of sensors. That probably sounded confusing, so let ...
3
votes
1answer
199 views

Seq2Seq dialogs predicts only most common words like `you` after couple of epoches

I'm training Seq2Seq model on OpenSubtitles dialogs - Cornell-Movie-Dialogs-Corpus. My work based on the following papers (but currently I'm not implemented Attention yet): Sequence to Sequence ...
0
votes
1answer
366 views

L2 normalization in Facenet paper acting as a Constraint?

In the Facenet paper, Under section 3.2 The authors mention that: The embedding is represented by f(x) ∈ Rd . It embeds an image x into a d-dimensional Euclidean space. Additionally, we constrain ...
1
vote
0answers
90 views

My network does always predict always the first right class

I trained my model ResNet-50 for UCMerced_LandUse dataset and this my loss graph but I have a problem when I try my first picture ...
1
vote
0answers
28 views

Improving learning rate for classification task

I am trying to perform classification task using Keras and tensorflow. However, the learning converges after achieving an accuracy of 57%. All my inputs and outputs are categorical data. Am I using ...
1
vote
0answers
86 views

Trajectory classification using RNN

The problem: I want to classify a trajectory if it has some properties, for example I want to create a simple 0/1 classifier for circular trajectories. If a target is moving in a circular trajectory ...
0
votes
0answers
177 views

Deep-Q-Network is unlearning after a few epochs

I've been trying to train my Deep-Q network to play Breakout. I'm trying to replicate the results published by Deepmind in the Nature Paper. But my DQN peeks at some point and then starts the whole ...
1
vote
1answer
136 views

TensorFlow training evaluation

I'm having trouble with accuracy evaluation at the end of Session. Training process looks like this: ...
-1
votes
1answer
30 views

Best way to build API for input data and get response classified by tensorflow?

I trained data for recognizing the fingerprint of my friends. I am feeding testing data to local machine by hardware. What should I do to run this as a server and get the data over network in least ...
1
vote
0answers
129 views

Transfer learning from model trained in a similar dataset

I am currently working on a defect detection algorithm but I only have a few samples of defects.I googled for defect detection datasets and I found this one: http://resources.mpi-inf.mpg.de/...
3
votes
2answers
497 views

What layers to use in a Neural Network for card game

I am currently writing an engine to play a card game and I would like for an ANN to learn how to play the game. The game is currently playable, and I believe for this game a deep-recurrent-Q-network ...
3
votes
1answer
101 views

If neurons are only defined for values between 0 and 1, how does ReLU differ from the identity?

I'm struggling to understand the underlying mechanics of CNNs so any help is appreciated. I have a network with a ReLU activation function which does perform signifigantly better than one with sigmoid....
1
vote
2answers
98 views

Why does ReLU (and other non linearities) work?

Can someone please point me to where I can read up on why non linearities that can produce values larger than 1 or smaller than 0 work. My understanding is that neurons can only produce values between ...
2
votes
0answers
206 views

Tensorflow: Can't overfit training data with batch size > 1

I coded a small RNN network with Tensorflow to return the total energy consumption given some parameters. There seem to be a problem in my code. It can't overfit the training data when I use a batch ...