Skip to content
Knowledge Transfer
  • PyTorch
  • Keras
  • Flutter
  • TensorFlow
  • Pandas
  • Android
  • Contact Us

Category Archives: PyTorch

September 18, 2020

Pre-Train Word Embedding in PyTorch

admin

we need to create a matrix of one embedding for each word in the training dataset. We can do that by enumerating all unique words in the Tokenizer.word_index and locating the embedding weight vector from the loaded GloVe embedding.

September 2, 2020

Pytorch Image Augmentation using Transforms.

admin

The quality of the images will not be the same from each source. Some images might be of very high quality while others might be just plain bad. In such scenarios, we can blur the image. This helps make our deep learning model more robust. Transforms provide a class for randomly change the brightness, contrast, and saturation of an image.

August 3, 2020

Convolutional Neural Network using Sequential model in PyTorch.

admin

How easy this looks compared to when we had to construct a model through the class way of doing it. Sequential class lives in the neural network package and this is a class that we are building by or we’re building an instance of this class by passing in other modules in a sequential.

Posts navigation

Previous 1 … 4 5

Recent Posts

  • How to use PyTorch gather function for indexing?
  • Access PyTorch model weights and bise with its name and ‘requires_grad value’
  • Use Image Dataset from Directory with and without Label List in Keras
  • Use Saved PyTorch model to predict single and multiple images.
  • What is the ideal batch size for the Keras Neural network?
  • Privacy Policy
Copyright © 2022 Knowledge Transfer All Rights Reserved.