Skip to content Skip to sidebar Skip to footer
Showing posts with the label Tensorflow

Why The Model Is Training On Only 1875 Training Set Images If There Are 60000 Images In The Mnist Dataset?

I am trying to create a simple CNN to classify images in MNIST dataset. The model achieved an accep… Read more Why The Model Is Training On Only 1875 Training Set Images If There Are 60000 Images In The Mnist Dataset?

How To Split Dataset Into K-fold Without Loading The Whole Dataset At Once?

I can't load all of my dataset at once, so I used tf.keras.preprocessing.image_dataset_from_dir… Read more How To Split Dataset Into K-fold Without Loading The Whole Dataset At Once?

How To Use Tf.nn.embedding_lookup_sparse In Tensorflow?

We have tried using tf.nn.embedding_lookup and it works. But it needs dense input data and now we n… Read more How To Use Tf.nn.embedding_lookup_sparse In Tensorflow?

Keras Maxpooling2d Layer Gives Valueerror

I am trying to replicate VGG16 model in keras, the following is my code: model = Sequential() model… Read more Keras Maxpooling2d Layer Gives Valueerror

Slicing Tensor With List - Tensorflow

Is there a way to accomplish this method of slicing in Tensorflow (example shown using numpy)? z = … Read more Slicing Tensor With List - Tensorflow

Keras Custom Loss Function Not Printing Value Of Tensor

I am writing just a simple loss function in which I have to convert the tensor to numpy array(it… Read more Keras Custom Loss Function Not Printing Value Of Tensor

Tensorflow No Module Named _pywrap

I am kinda new to tensorflow and only had some time to play with it on our univercitys computers th… Read more Tensorflow No Module Named _pywrap

Cant Install Tensorflow 2.2.0rc0 In Ubuntu With Github Actions Inside Setup.py

When i try to install tensorflow>=2.2.0rc0 from setup.py running python setup.py install from a … Read more Cant Install Tensorflow 2.2.0rc0 In Ubuntu With Github Actions Inside Setup.py

I Am Not Able To Install Tensorflow=1.4.1

Hi when I run this commands pip install tensorflow==1.4.1 It not run and give the following error … Read more I Am Not Able To Install Tensorflow=1.4.1

Cnn Loss With Multiple Outputs?

I have the following model def get_model(): epochs = 100 learning_rate = 0.1 decay_rate = learning_… Read more Cnn Loss With Multiple Outputs?

Different Behaviour Between Same Implementations Of Tensorflow And Keras

I have TensorFlow 1.9 and Keras 2.0.8 on my machine. When training a neural network with some toy d… Read more Different Behaviour Between Same Implementations Of Tensorflow And Keras

Training On Regional Proposal Network Only For Object Detection Using Tensorflow

I like to train only RPN network from faster rcnn using tensorflow. In caffe, I have done training … Read more Training On Regional Proposal Network Only For Object Detection Using Tensorflow

Tensorflow Raw_rnn Retrieve Tensor Of Shape Batch X Dim From Embedding Matrix

I am implementing encoder-decoder lstm, where I have to do custom computation at each step of the e… Read more Tensorflow Raw_rnn Retrieve Tensor Of Shape Batch X Dim From Embedding Matrix

Why This Tensorflow Tutorial Code Not Working

Now i'm trying lstm tutorial, look some one's book. But it didn't work. What's the … Read more Why This Tensorflow Tutorial Code Not Working

Keras From Tf : Loss Is Nan And Failed To Find Data Adapter That Can Handle Input: ,

I tried to find some solutions that should solves my problem but for the moment none of them are wo… Read more Keras From Tf : Loss Is Nan And Failed To Find Data Adapter That Can Handle Input: ,

What Is A "cell Class" In Keras?

Or, more specific: what is the difference between ConvLSTM2D and ConvLSTM2DCell? What is the diffe… Read more What Is A "cell Class" In Keras?

How Can I Get Specific Rows Of A Tensor In Tensorflow?

I have several tensors: logits: This tensor contains the final prediction scores. tf.Tensor 'M… Read more How Can I Get Specific Rows Of A Tensor In Tensorflow?

How To Delete Tensorflow Model Before Retraining

I can't retrain my image classifier with new images, I get the following error: AssertionError:… Read more How To Delete Tensorflow Model Before Retraining

How Are Variables Shared Between Concurrent `session.run(...)` Calls In Tensorflow?

If you make two concurrent calls to the same session, sess.run(...), how are variables concurrently… Read more How Are Variables Shared Between Concurrent `session.run(...)` Calls In Tensorflow?

How To Construct Square Of Pairwise Difference From A Vector In Tensorflow?

I have a 1D vector having N dimension in TensorFlow, how to construct sum of a pairwise squared dif… Read more How To Construct Square Of Pairwise Difference From A Vector In Tensorflow?