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]

A Python library for machine learning, in particular for deep learning, originally created by Google.

2
votes
1answer
16 views

Tensorflow choice of values of variables after training [on hold]

I am trying to build a neural network, that is able to perform a linear regression. After for example 1000 epochs, I encountered the situation, where the smallest loss-value was not the last loss-...
0
votes
1answer
15 views

Loss during minibatch gradient descent

I have minibatch gradient descent code in Tensorflow for function approximation, but I am unsure when to calculate the loss. First, I create batches for x and y data. Then, I shuffle both these ...
0
votes
0answers
8 views

Is it possible to have a constent accuracy for my tensorflow network whatever is the iterations?

I am runing my tf NN composed by one input, one hidden and one output layers the number of hidden nodes if the half of total features number I have got the next table considering different learning ...
4
votes
1answer
32 views

Is this Tensorflow bias vector shaped correctly?

In the text I read the following: I’m confused on the dimensions of the bias vector. How can we add a(m,1) vector to a(1, p) ...
0
votes
0answers
7 views

Model Training and test accuracy suddenly dropping for a Mulit Layer Perceptron from 98% to 9% (test)? [duplicate]

I was exploring the tensorflow library and was working on an MLP for the mnist dataset. It is 5 layers MLP trained for 10000 iterations on batches of 100. After training the model up to 9000 ...
1
vote
0answers
8 views

CTC classification for License Plate with two lines

I have gone through this tutorial and have understanding how CTC works for end to end text recognition. But for recognition of images with texts in two lines Would it be able to use CTC for ...
0
votes
0answers
24 views

ML Regressor model performance conclusion RSME vs STD DEV

Perhaps my question is still slightly silly but apparently even though lot of folks talk about how to evaluate the rightness of your model there still blur the right evaluation procedure at least for ...
1
vote
1answer
21 views

What is the initial state of the tf.contrib.rnn.LSTMCell? [closed]

Does tf.contrib.rnn.LSTMCell assign itself an initial state of zeros or is it random for each batch or per complete run through (if I run the model twice will it have the same initial state both the ...
1
vote
0answers
11 views

Implementing WARP loss in tensorflow [closed]

I notice there are attempts to implement WARP loss in Keras such as (https://stackoverflow.com/questions/46299554/implimentation-of-warp-loss-in-keras) But I have not seen any githubs or publications ...
1
vote
0answers
7 views

Tensorflow InvalidArgumentError: The determinant is not finite [closed]

I'm trying to fit a Mixture of Gaussians to a data set. First the data is clustered using K-Means Clustering. Each cluster is then fitted with a Gaussian.To avoid inversion of large covariance matrix, ...
0
votes
1answer
13 views

How to reconstruct negative acceleration values using a simple autoencoder?

I am trying to reconstruct the acceleration values of a tri-axial accelerometer using a simple autoencoder. As acceleration values are often negative (e.g, -3.4) therefore using a ReLU activation ...
0
votes
0answers
15 views

Training on cifar100 [duplicate]

I am building a model on training a cifar100 images I try to follow others work on training cifar10 and they work very well(around 90% accuracy), so I add some more layers for training cifar100.But ...
8
votes
3answers
76 views

Is it possible to give variable sized images as input to convolutioal neural network

Can we give images with variable size as input to convolutional neural network for object detection? If possible, How can we do that? But if we try to crop the image, we will be loosing some portion ...
0
votes
0answers
7 views

neural network doesn't fit boundaries [duplicate]

I'm new to machine learning and trying to fit a sample data set with neural networks in python using tensorflow. After having implemented the neural network in Dymola I want to compare the outputs of ...
1
vote
1answer
26 views

forget_bias interpretation in tensorflow

In Basic LSTM cell of tensorflow there is an argument named forget_bias. From the documentation of ...
0
votes
1answer
39 views

What is the difference between SSIM and MS-SSIM?

I would like to know what is the difference between SSIM and MS-SSIM? Also, there is a built-in function in Tensorflow for both of them, I am curious to know when should I use SSIM and when MS-SSIM? ...
0
votes
1answer
27 views

Understanding TensorFlow' conv2d for multiple output channels

I'm trying to understand the convolution process better by applying conv2d to different inputs. However I get unexpected result by transforming 3x3 matrix from 1 to ...
0
votes
1answer
60 views

What does decay_steps mean in Tensorflow tf.train.exponential_decay?

I am trying to implement an exponential learning rate decay with the Adam optimizer for a LSTM. I do not want the 'staircase = true' version. The decay_steps for me feels like the number of steps that ...
0
votes
2answers
28 views

Keras model optimization of 2D arrays

I am trying to train a CNN with 2D arrays of normalized numbers. Example of 2D training array: ...
0
votes
1answer
15 views

Why the bias distribution in the last layer is always close to symmetric?

I am trying to train a very simple model, the first layer is full connection, while the output layer output 2 values to represent different categories. ...
0
votes
0answers
20 views

What is the efficient algorithm among Bagged Trees, Neural Network (TensorFlow) and C4.5?

I am performing a classification process over a collection of signals where each signal has 12 parameter. I need to predict my class/ label using those 12 features, the classes are 5 from 0 to 4 (It ...
1
vote
1answer
73 views

sample data for training neural networks for self-driving cars [closed]

If I ask the question in the wrong forum, let me know, I will delete it. I want see sample data for training neural networks for self-driving cars. I understand that there will be geodata and image ...
1
vote
1answer
34 views

Is it reasonable to use VGG16 with a new fully-connected layer for binary image segmentation?

I am working on binary image segmentation of traffic signs (of which I have RGB images of size 224x224 and accompanying grayscale masks) where I want to classify each pixel as either part of a traffic ...
0
votes
1answer
35 views

Emotion detection: neural network overfitting on audio files

I am working on an analysis of audio data to understand emotions using the RAVDESS dataset. The input is the Mel-frequency cepstral coefficients (MFCCs) of each audio file, extracted using a Python ...
2
votes
1answer
66 views

Tensorflow batch normalization for images - padding issue

I'm trying to train anomaly/defect detection network on custom images. Let say I have to detect scratches on special steel boxes and I have two views: side view with dimension 2300 x 550 (width x ...
0
votes
0answers
30 views

Neural Network Parallel Architecture

I am a beginner to Machine Learning. While working on a personal project with VAEs, I had an idea. I will first give some background. Sometimes I have seen that it is common practice, when creating ...
0
votes
0answers
15 views

How to un-normalize the output of a GAN's generator in tensorflow

I am using the DCGAN framework to learn some specific image distribution as part of a bigger process (compressed sensing using GANs). The problem is that the ouput of the net is in the interval $[-1,1]...
-1
votes
2answers
65 views

Deep Neural Network visualization on multi dimension datasets [closed]

I have seen the PlayGround of Tensorflow. But it is using only 2D values which means only 2 inputs are taken. I have 7 inputs and the output is only 1. See the datasets sample: ...
2
votes
1answer
39 views

I don't understand such a difference in the accuracy, please help

When I use a normalized values for the values of the target column in the following DL regression model I get a very good accuracy, and if I don't, the accuracy is a mess. However I've reading that ...
0
votes
0answers
16 views

How to obtain embedded representation of single test instance after training

The first layer of my RNN is embedded layer as follows. ...
0
votes
0answers
49 views

Detection of number plate and digits/alphabets in one deep learning model

I tried to make a caffe-based deep learning model trained with number plate, digits and alphabet altogether. But in testing, I detect only number plate. I used both py-faster-rcnn and SSD. Is it ...
1
vote
0answers
26 views

Visualizations not appearing in Tensorflow-PyCharm IDE [closed]

I am using PyCharm Community Edition and Python 3.7. Via Anaconda, I have installed the Tensorflow machine learning package. I am following the regression tutorial here, but I am getting limited ...
0
votes
1answer
34 views

Object detection training: will mirroring images help or hinder?

Will Tensorflow training benefit from doubling the images by mirroring images (flipping horizontally)? In other words, if the original image contains text that says: "this is a test", the mirrored ...
0
votes
0answers
8 views

Why does the Conv Neural Net using Tensorflow returns same predictions for all the data points [duplicate]

I am predicting usage quantity for different customers across different categories. Following is the network architecture. ...
0
votes
0answers
28 views

Use of variable 'states' in a recurrent neural network in tensorflow? [duplicate]

The output of RNN implementations in Tensorflow is a tuple [outputs, states]. I am a bit confused about the use of the states variable. For example in this example of a simple LSTM implementation in ...
0
votes
0answers
64 views

CNN Flower recognition (5 classes) accuracy improvement

I have created a CNN for image recognition (Flower types - 5 classes) and am now considering model parameter changes to improve accuracy. The model (5 3*3conv + 4 2*2max pooling layers) attains ~60% ...
0
votes
0answers
111 views

Auxiliary loss function keras

I'm trying to write the custom loss function called ( Auxiliary loss function) which are two softmax loss functions put together that controls both the Context path and Spatial path of the network. ...
0
votes
0answers
27 views

Forming Conditional Probabilities in tensorflow

This is a repost from stack, but I think it may be more applicable here. Granted there is even a bounty for it there, if someone could answer it. https://stackoverflow.com/questions/53421179/forming-...
0
votes
0answers
16 views

How to group text categorical data basis on clustering?

So if I have text dataset where I have more than 50 categories. Sample: ...
1
vote
1answer
36 views

Question about bounding boxes to handle false positives

I have trained a model to detect vehicle number plates. The issue is that it returns matches of partial plates, with high confidence. To eliminate partials I want to add two new boxes to the images ...
0
votes
1answer
71 views

Entropy of a Gaussian Process: Log(Determinant(CovarianceMatrix)) [closed]

I want to be able to compute the entropy of a Gaussian Process. To that end, I have a simple example in GPFLow. I have a latent function which I sample with two different levels of noise, L1 and L2 ...
0
votes
2answers
165 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
21 views

Using TensorFlow sentence encoder and other parameters as features in SVM

I have 150K tagged samples of technical support chats between customers and technicians. The chats are classified into 2: “resolved”/ “unresolved” sessions (66.6% and 33.3% of the distribution ...
0
votes
1answer
42 views

Implementation of WAE-GAN does not match with the description in the paper

According to the litterature and specifically to this paper, the wasserstein autoencoders is an encoder-decoder architecture. So it must contain encoder and decoder parts. in the algorithm ...
1
vote
1answer
102 views

RMSprop difference rho and decay in Tensorflow

As this post showed nicely, there is a difference between rho and the decay in RMSprop. I can't clearly see what tensorflows RMSprop parameter decays stands for. Is this the learning rate decay? And ...
0
votes
0answers
21 views

Training a multi inputs deep learning model using every combination of inputs?

I am beginner in deep learning. I want to create a multi inputs CNN model in Keras. The model takes two inputs of images to give the two images class. The two images from differnt datasets that have ...
3
votes
1answer
73 views

How to cluster parts of broken line made of points?

I am studying clustering techniques and i am pretty new at this topic. Here is my problem: I created a 5 lines which are made of points. This lines are supposed to be continuous and they look like ...
1
vote
0answers
58 views

Recognition the same object from different views

I have 33 classes (33 different objects). I need to recognize the object from any view of the object. Like a packet of potato chips, the packet has different appearance from different view (as shown ...
0
votes
0answers
19 views

Training SSD like network for Number and Alphabet detection

I tried to read number plate using the model trained with SSD like network. My network has only five layers. I trained with 60,000 images for digits 0-9 and alphabets A-Z. So one class has 2,000 ...
1
vote
0answers
22 views

Feature ranking for ANN

I am doing a regression analysis on 1 hidden layer feed forward NN and have 18 input features with 1 output. I Intend to do some feature ranking so it can give me an idea of the most important to the ...