Mastering PyTorch by Ashish Ranjan Jha

by Ashish Ranjan Jha · Views: 150 · Format: EPUB · Language: English (en)

Cover of Mastering PyTorch by Ashish Ranjan Jha — Free EPUB on AnyEbooksEPUB

of the image. Since 2010, machine learning has been used to perform the task of image captioning [2.1]. However, neural networks were first successfully used for this task in around 2014/2015 [2.2]. Ever since, image captioning has been actively researched. With significant improvements each year, this deep learning application can become useful for real-world applications such as auto-generating alt-text in websites to make them more accessible for the visually impaired. This chapter first discusses the architecture of such a hybrid model, along with the related implementational details in PyTorch, and at the end of the chapter, we will build an image captioning system from scratch using PyTorch. This chapter covers the following topics: Building a neural network with CNNs and LSTMs Building an image caption generator using PyTorch Building a neural network with CNNs and LSTMs A CNN-LSTM network architecture consists of a convolutional layer(s) for extracting features from the input data (image), followed by an LSTM layer(s) to perform sequential predictions. This kind of model is both spatially and temporally deep. The convolutional part of the model is often used as an encoder that takes in an input image and outputs high-dimensional features or embeddings. In practice, the CNN used for these hybrid networks is often pre-trained on, say, an image classification task. The last hidden layer of the pre-trained CNN model is then used as an input to the LSTM component, which is

★★★★★

Rate this eBook

File Name:140ad328584110b6aad14ae2f0f42464.epub
Original Title:Mastering PyTorch
Creator / Author:Ashish Ranjan Jha
Language:English (en)
Identifier:ASIN:457973
Publisher:Ashish Ranjan Jha Publishing
Category:Non-fiction
Format:📗 EPUB eBook
File Size:3.5 MB

Community Reviews

Loading verified community reviews...
✍️
Ashish Ranjan JhaAuthor
Verified Author
More Non-fiction →

Related Non-fiction Titles