Skip to content Skip to sidebar Skip to footer
Showing posts with the label Deep Learning

Hinge Loss Function Gradient W.r.t. Input Prediction

For an assignment I have to implement both the Hinge loss and its partial derivative calculation fu… Read more Hinge Loss Function Gradient W.r.t. Input Prediction

Tensorflow: What Are The Input Nodes For Tf.estimator Models

I trained a Wide & Deep model using the pre-made Estimator class (DNNLinearCombinedClassifier),… Read more Tensorflow: What Are The Input Nodes For Tf.estimator Models

Lstm Network On Pre Trained Word Embedding Gensim

I am new to deep learning. I am trying to make very basic LSTM network on word embedding feature. I… Read more Lstm Network On Pre Trained Word Embedding Gensim

Tensorflow Word2vec Error

I downloaded source code of word2vec in github below. https://github.com/tensorflow/models/blob/mas… Read more Tensorflow Word2vec Error

Keras Load Model Error Trying To Load A Weight File Containing 17 Layers Into A Model With 0 Layers

I am currently working on vgg16 model with keras. I fine tune vgg model with some of my layer. Afte… Read more Keras Load Model Error Trying To Load A Weight File Containing 17 Layers Into A Model With 0 Layers

Grid Search Fit Not Accepting List Of Tensors

I have a siamese network and I want to perform a grid seach on it using GridSearchCV. So I create a… Read more Grid Search Fit Not Accepting List Of Tensors

Predicting Future Values In A Multivariate Time Forecasting Lstm Model

I am confused on how to predict future results with a time series multivariate LSTM model. I am try… Read more Predicting Future Values In A Multivariate Time Forecasting Lstm Model

Binary Classification With Softmax Activation Always Outputs 1

Sorry for the quality of the question but a beginner here , I was just trying my luck with titanic … Read more Binary Classification With Softmax Activation Always Outputs 1

What Is The Effect Of Tf.nn.conv2d() On An Input Tensor Shape?

I am studying tensorboard code from Dandelion Mane specificially: https://github.com/dandelionmane/… Read more What Is The Effect Of Tf.nn.conv2d() On An Input Tensor Shape?

How To Restore Tensorflow V1.1.0 Saved Model In V1.13.1

I'm trying to restore the pretrained model provided here and continue training on a different d… Read more How To Restore Tensorflow V1.1.0 Saved Model In V1.13.1

Cudnn Launch Failure (tensorflow-gpu/cuda)

Traceback (most recent call last): File '/home/alex/anaconda3/envs/tensorflow/lib/python3.6/s… Read more Cudnn Launch Failure (tensorflow-gpu/cuda)

Valueerror: Error When Checking Input: Expected Dense_1_input To Have Shape (180,) But Got Array With Shape (1,)

My learning model is as follows (using Keras). model = Sequential() model.add(Dense(100, activation… Read more Valueerror: Error When Checking Input: Expected Dense_1_input To Have Shape (180,) But Got Array With Shape (1,)

Pytorch Most Efficient Jacobian/hessian Calculation

I am looking for the most efficient way to get the Jacobian of a function through Pytorch and have … Read more Pytorch Most Efficient Jacobian/hessian Calculation

Splitting Data To Training, Testing And Valuation When Making Keras Model

I'm a little confused about splitting the dataset when I'm making and evaluating Keras mach… Read more Splitting Data To Training, Testing And Valuation When Making Keras Model

How Do I Get The Weights Of A Layer In Keras?

I am using Windows 10, Python 3.5, and tensorflow 1.1.0. I have the following script: import tensor… Read more How Do I Get The Weights Of A Layer In Keras?

How To Use Model After Trained In Tensorflow (save/load Graph)

My tensorflow version is 0.11. I want to save a graph after training or save something else which … Read more How To Use Model After Trained In Tensorflow (save/load Graph)

Get List Of True Positives, False Positives, False Negatives And True Negatives With Tensorflow

Here is my work : I have annotated images of 'Living' cells (circa 8.000) and images of &#… Read more Get List Of True Positives, False Positives, False Negatives And True Negatives With Tensorflow

Warning:tensorflow:layer My_model Is Casting An Input Tensor From Dtype Float64 To The Layer's Dtype Of Float32, Which Is New Behavior In Tensorflow 2

Before my Tensorflow neural network starts training, the following warning prints out: WARNING:ten… Read more Warning:tensorflow:layer My_model Is Casting An Input Tensor From Dtype Float64 To The Layer's Dtype Of Float32, Which Is New Behavior In Tensorflow 2

Tensorflow 'module' Object Has No Attribute 'global_variables_initializer'

I'm new to Tensorflow I'm running a Deep learning Assignment from Udacity on iPython notebo… Read more Tensorflow 'module' Object Has No Attribute 'global_variables_initializer'

Tensorflow: Bincount With Axis Option

In TensorFlow, I can get the count of each element in an array with tf.bincount: x = tf.placeholder… Read more Tensorflow: Bincount With Axis Option