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

Deep Learning (lstm) With Keras And Variable Size Of Inputs

I am trying to implement a lstm model with keras. The problem is that I have data of different shap… Read more Deep Learning (lstm) With Keras And Variable Size Of Inputs

How To Reshape 3 Channel Dataset For Input To Neural Network

I am trying to feed kth action dataset to a cnn. I am having difficulty with reshaping the data. I … Read more How To Reshape 3 Channel Dataset For Input To Neural Network

Backward Propagation In Keras?

can anyone tell me how is backpropagation done in Keras? I read that it is really easy in Torch and… Read more Backward Propagation In Keras?

Cost Function Outputs 'nan' In Tensorflow

While studying the tensorflow, I faced a problem. The cost function output 'nan'. And, if… Read more Cost Function Outputs 'nan' In Tensorflow

Autotokenizer.from_pretrained Fails To Load Locally Saved Pretrained Tokenizer (pytorch)

I am new to PyTorch and recently, I have been trying to work with Transformers. I am using pretrain… Read more Autotokenizer.from_pretrained Fails To Load Locally Saved Pretrained Tokenizer (pytorch)

Keras - Cnn Model Summary Diemension Interpretation

I am using Keras library to build this deep learning model: INPUT(depth=1, height=15, width=27) -&g… Read more Keras - Cnn Model Summary Diemension Interpretation

Keras Model Not Learning

My Keras model is not learning anything and I can't figure out why. I even reduced the training… Read more Keras Model Not Learning

Changing The Current Graph Of Tf.placeholder Objects In Tensorflow: Is It Possible?

In my code, I am changing my current default graph for some reason and rebuild all the computation … Read more Changing The Current Graph Of Tf.placeholder Objects In Tensorflow: Is It Possible?

Why I Can't Predict With My Keras Lstm Model As I Want?

I created a LSTM model for stock price predicting. Thats my code : from tqdm import tqdm import num… Read more Why I Can't Predict With My Keras Lstm Model As I Want?

Creating Large Lmdbs For Caffe With Numpy Arrays

I have two 60 x 80921 matrices, one filled with data, one with reference. I would like to store the… Read more Creating Large Lmdbs For Caffe With Numpy Arrays

Initial Weights In Network With Keras / Tensorflow

I am trying to get the initial weights for a given network. This thread suggests that one needs to … Read more Initial Weights In Network With Keras / Tensorflow

Is It Possible To Save A Trained Layer To Use Layer On Keras?

I haven't used Keras and I'm thinking whether to use it or not. I want to save a trained la… Read more Is It Possible To Save A Trained Layer To Use Layer On Keras?

Incompatible Shapes On Tensorflow

I am new in CNN,I am trying to make a CNN to classify image data set of handwritten English alphabe… Read more Incompatible Shapes On Tensorflow

Pytorch Memory Model: "torch.from_numpy()" Vs "torch.tensor()"

I'm trying to have an in-depth understanding of how PyTorch Tensor memory model works. # input … Read more Pytorch Memory Model: "torch.from_numpy()" Vs "torch.tensor()"

Is It Possible To See The Output After Conv2d Layer In Keras

I am trying to understand each layer of Keras while implementing CNN. In Conv2D layer i understand … Read more Is It Possible To See The Output After Conv2d Layer In Keras

Retrieving Last Value Of Lstm Sequence In Tensorflow

I have sequences of different lengths that I want to classify using LSTMs in Tensorflow. For the cl… Read more Retrieving Last Value Of Lstm Sequence In Tensorflow

Runtimeerror: Given Groups=1, Weight Of Size [64, 3, 7, 7], Expected Input[3, 1, 224, 224] To Have 3 Channels, But Got 1 Channels Instead

In the code below: model_ft.eval() test_data, test_target = image_datasets['train']… Read more Runtimeerror: Given Groups=1, Weight Of Size [64, 3, 7, 7], Expected Input[3, 1, 224, 224] To Have 3 Channels, But Got 1 Channels Instead

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

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)

Eval And Test_minibatch In Cntk

We are using TrainResNet_CIFAR10.py as an example to learn cntk. We have created two methods, eva… Read more Eval And Test_minibatch In Cntk