The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [tensorflow]

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

Filter by
Sorted by
Tagged with
46
votes
7answers
25k views

Why is Python such a popular language in the AI field?

First of all, I'm a beginner studying AI and this is not an opinion oriented question or one to compare programming languages. I'm not saying that is the best language. But the fact is that most of ...
34
votes
1answer
19k views

Which library would you recommend to begin with deep learning?

Which library (TensorFlow or Keras) would you recommend for a first approach to deep learning? I'm a neuroscience student trying for the first time computational approaches, if that matters.
11
votes
3answers
7k views

How to train a neural network for a round based board game?

I'm wondering how to train a neural network for a round based board game like, tic-tac-toe, chess, risk or any other round based game. Getting the next move by inference seems to be pretty straight ...
9
votes
3answers
9k views

What is the concept of Tensorflow Bottlenecks?

What is the concept and how does one calculate Bottleneck values? How do these values help image classification? Please explain in simple words.
9
votes
4answers
7k views

How to classify data which is spiral in shape?

I have been messing around in tensorflow playground. One of the input data sets is a spiral. No matter what input parameters I choose, no matter how wide and deep the neural network I make, I cannot ...
8
votes
1answer
2k 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 ...
7
votes
3answers
2k 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 ...
6
votes
2answers
7k 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 ...
6
votes
2answers
382 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 ...
6
votes
1answer
180 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 ...
5
votes
2answers
4k 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, ...
5
votes
1answer
500 views

Who manufactures Google's Tensor Processing Units?

Does google manufacture TPUs? I know that google engineers are the ones responsible for the design, and that google is the one using them, but which company is responsible for the actual manufacturing ...
5
votes
3answers
1k 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 ...
5
votes
0answers
122 views

How to design 4D Deep Recurrent Neural Networks using Tensorflow?

I want to design a simple model that predicts the movement of coordinates with RNNs. In a typical three-dimensional LSTM model, one feature is encoded as one hot encoding, and the ...
4
votes
3answers
187 views

Is a GPU always faster than a CPU for training neural networks?

Currently, I am working on a few projects that use feedforward neural networks for regression and classification of simple tabular data. I have noticed that training a neural network using TensorFlow-...
4
votes
2answers
5k views

max pooling size=2,stride=1 outputs same size

While working with darkflow, I encountered something that I can't understand. I understand that maxpooling with size=2,stride=2 would decrease the output size to half of its size. However, if the ...
4
votes
2answers
657 views

Image recognition

I am looking for a solution that I can use with identifying cars. So I have a database with images of cars. About 3-4 per car. What I want to do is upload a picture to the web of car(Picture taken ...
4
votes
1answer
310 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 ...
4
votes
1answer
2k views

How to train for own dataset really really fast while debugging

How to train darkflow for my custom object really really fast during debugging in quad core PC and without GPU? (Can I train with about 10 images and test with only those images, just to check if all ...
4
votes
1answer
706 views

Training Custom object detection network using tensor-flow object detection API?

I was just wondering if some one could provide a nice tutorial on how to use the Recent tensor-flow object detection API to train custom network say like VGG-16? (Just USE the VGG-16, VGG-19, ...
4
votes
1answer
716 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 ...
4
votes
1answer
30 views

dimensions of hidden layer and cell state layer in LSTM

I was following some examples to get familiar with tensorflow LSTM related api, but noticed that all LSTM initialization functions require only num_units parameter which denotes number of hidden units ...
4
votes
0answers
34 views

Transformer: Position-wise Feed-Forward network

The Transformer model introduced in "Attention is all you need" by Vaswani et al. incorporates a so-called position-wise feed-forward network (FFN): In addition to attention sub-layers, each of the ...
4
votes
0answers
138 views

Game AI - Modify image classification model for analog output

I'm developing a Game AI which tries to master racing simulation. I already trained a CNN (alexnet) on ingame footage of me playing the game and the pressed keys as the target. I had two main issues ...
3
votes
5answers
2k 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 ...
3
votes
2answers
679 views

How to use CNN for making predictions on non-image data?

I have a dataset which I have loaded as a data frame in Python. It consists of 21392 rows (the data instances, each row is one sample) and 1972 columns (the features). The last column i.e. column 1972 ...
3
votes
1answer
109 views

Why isn't my Neural Network based calculator working?

I am playing around with neural networks in Tensorflow and I figured an interesting test would be whether I can write a calculator using a Tensorflow Neural Network. I started with simple addition ...
3
votes
1answer
51 views

Is it useful to eliminate the less relevant filters from a trained CNN?

Imagine I have a tensorflow CNN model with good accuracy but maybe too many filters: Is there a way to determine which filters have more impact in output? I think it should be possible. At least, if ...
3
votes
1answer
105 views

Are there independent evaluations of various major AI platforms?

Has anyone had a chance to tinker with multiple major AI platforms such as TensorFlow, Cognitive Talk, Quill etc... What are the strengths and weaknesses of different AI platforms? Comprehensive ...
3
votes
1answer
87 views

Which model should I use to determine the similarity between predefined sentences and new sentences?

The Levenshtein algorithm and some ratio and proportion may handle this use case. Based on the pre-defined sequence of statements, such as "I have a dog", "I own a car" and many more, I must ...
3
votes
1answer
141 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
793 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
30 views

Artificial intelligence services at the edge

I am a strategy consultant, deeply interested in edge computing and distributed and decentralized systems. In performing some analysis on current edge offerings, I am curious as to how ML and AI ...
3
votes
1answer
107 views

Programming an inference AI that computes the best outcomes like a quantum computer

I bought an Intel Movidius Neural Compute stick a few weeks ago. Even though I can use it with the examples, I want to actually use it for something! The documentation is messy, and hard to work ...
3
votes
1answer
32 views

CNN how can i reduce gpu memory usage with large image sizes?

I am trying to train a cnn-lstm model, my sample image sizes are 640x640. I have a GTX 1080 ti 11GB. I am using Keras with tensorflow backend. Here is the model. ...
3
votes
0answers
82 views

YOLO v3 complete architecture

I am attempting to implement YOLO v3 in Tensorflow-Keras from scratch, with the aim of training my own model on a custom dataset. By that, I mean without using pretrained weights. I have gone through ...
3
votes
3answers
401 views

How to implement a Continuous Control of a quadruped robot with Deep Reinforcement Learning in Pybullet and OpenAI Gym?

Description I have designed this robot in URDF format and its environment in pybullet. Each leg has a minimum and maximum value of movement. What reinforcement algorithm will be best to create a ...
3
votes
1answer
678 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 ...
3
votes
1answer
868 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 ...
3
votes
1answer
109 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....
2
votes
1answer
46 views

Why tf object detection api needs so few pictures?

I am wondering why tf object detection api needs so few picture samples for training while regular cnns needs many more? What I read in tutorials is that tf object detection api needs around 100-500 ...
2
votes
1answer
406 views

How to detect LEGO bricks by using a deep learning approach?

In my thesis I dealt with the question how a computer can recognize LEGO bricks. With multiple object detection, I chose a deep learning approach. I also looked at an existing training set of LEGO ...
2
votes
1answer
39 views

Testing, Validation Percentage & Test, Validation Batch Size Difference?

I'm doing transfer learning using Inception on Tensorflow. The code that I used for training is https://raw.githubusercontent.com/tensorflow/hub/master/examples/image_retraining/retrain.py If you ...
2
votes
1answer
25 views

Neural network does not give out the required out put?

Made a neural network using tensor flows that was supposed matches an Ip to one of the 7 type of vulnerabilities and gives out what type of vulnerability that IP has. ...
2
votes
1answer
39 views

Understanding the intuition behind Content Loss (Neural Style Transfer)

I'm trying to understand the intuition behind how the Content Loss is calculated in a Neural Style Transfer. I'm reading from an articles: https://medium.com/mlreview/making-ai-art-with-style-transfer-...
2
votes
1answer
324 views

TensorFlow training evaluation

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

Tensorflow: tf.contrib.DNNClassifier(..) or tf.estimator.DNNClassifier(..) [closed]

Can someone explain the differance between tf.contrib.DNNClassifier (learn) and tf.estimator.DNNClassifier? ...
2
votes
1answer
344 views

Is there ever a need to combine deep learning frameworks? (Eg. Tensorflow & Torch)?

Imagine a simple scenario of having a large repository using one framework and integrated with data/robots/etc, then having a new feature requested and the framework missing some vital functionality ...
2
votes
0answers
50 views

Has anyone been able to solve OpenAI's hardcore bipedal walker with their implementation of DDPG?

As the question suggests, I'm trying to see if I can solve OpenAI's hardcore version of their gym's bipedal walker using OpenAI's DDPG algorithm. Below is a performance graph from my latest attempt, ...