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