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.

-1
votes
0answers
19 views

Refactoring tensorflow tf.while loop

Thanks in advance for considering my question. TL;DR: I have a while loop in tensorflow, that I think is causing extreme slowness during training, and would need to refactor. Much appreciated if any ...
1
vote
0answers
6 views

How to solve the AttributeError: 'Ssd' object has no attribute 'freeze_batchnorm'

I use a modified training script for modeling images with Tensorflow/Keras/Mobilenet_V2. After a few errors that I could solve I now get the following error: ...
-1
votes
0answers
31 views

Linking data in deep learning

am working on a bone age project so I have 1000 image and each image has one age value stored on a excel file so I would like to know how I have to give any images to my values in the excel file
0
votes
0answers
22 views

Attention mechanism

I'm having problems implementing Bahdanau attention mechanism in a custom seq2seq (encoder-decoder) architecture. So far I reached this point: ...
0
votes
0answers
18 views

Deep Learning for Counting Object Pixels

I am new to deep learning and python/tensorflow, and am working on a project to measure object length in an image. I have been using the Tensorflow Object Detection API for training an object ...
0
votes
0answers
29 views

How to train a stock trading neural network so that the 'profit' parameter is maximized?

I am watching some beginner level video training on neural networks using Tensorflow / Keras to get a better understanding of how they work and how to best implement them. I have some questions on ...
0
votes
0answers
12 views

Getting NaN output on test predictions, first attempt at building a model [migrated]

I have been successfully following the tutorial examples on the Tensor Flow site and decided to implement my first model based on the Regression example of the Boston Housing data set. I have split ...
0
votes
1answer
33 views

What should a good loss curve look like?

This is a very basic question. I'm running a faster rcnn trainer on a dataset for object recognition. My images range from 200x200 to 7360x4912 in resolution. There are only 2 classes being trained (...
0
votes
0answers
9 views

What is the Significance of VGG16's Feature Dimensions?

I am using pre-trained VGG16 to extract features from small RGB images(299x299x3). I have successfully removed the top layer of the network to do this and have received features for each image that ...
1
vote
1answer
112 views

Continuous Advantage Actor Critic Implementation

I'm having trouble implementing AC for continuous action space. As far as I can tell, my code doesn't seem to have any bugs! The agent is learning "something" as its behaviour seems to vary ...
1
vote
0answers
19 views

Evaluating Utility of Incremental RAM

The Nvidia 2080 GPUs command a $500 premium for 3GB of incremental RAM (8GB -> 11GB). What are the relevant questions and thought process to determine the incremental improvement by moving from the ...
0
votes
1answer
51 views

Tensorflow - finding the right model on my use case

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 ...
1
vote
1answer
44 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 ...
1
vote
1answer
45 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
45 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
278 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
40 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 ...
2
votes
0answers
71 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
57 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
61 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
17 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
16 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
331 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
53 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
113 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
51 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?
4
votes
2answers
1k 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
930 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
46 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 ...
5
votes
1answer
181 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
138 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
64 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
516 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
819 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
135 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
39 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
467 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
135 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
32 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
312 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
217 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
25 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 ...
0
votes
0answers
81 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
292 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
527 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
98 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
31 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
93 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 ...