Skip to Content
Python迁移学习
book

Python迁移学习

by Posts & Telecom Press, Dipanjan Sarkar, Raghav Bali, Tamoghna Ghosh
May 2024
Intermediate to advanced
373 pages
6h 6m
Chinese
Packt Publishing
Content preview from Python迁移学习

第11章 自动图像扫描生成器

在前面的章节中,我们一起查看了一些在计算机视觉以及自然语言处理领域中运用迁移学习的相关案例研究。然而这些问题具有其特定的领域。在本章中,我们将着力于构建一个将两个流行的领域(计算机视觉和自然语言处理)相结合的智能系统。更具体地说,我们将着力于构建一个包含机器翻译的物体识别系统,以构建一个自动图像描述生成器。

图像描述并不是新出现的事物。一般来说,在不同媒体资源(例如书籍、论文或者社交媒体)中展示的图像,通常需要使用一段合适的文本来进行描述,以便更好地理解其含义和上下文。这项任务的难点在于一则图像描述一般来说是包含一个或多个句子的流畅的自然语言。由于用于图像描述的文本数据的非结构特性,这项任务并不是一个传统的图像分类问题。

图像描述可以利用计算机视觉领域的专业预训练模型(例如视觉几何小组[VGG]模型和Inception模型)和序列模型(例如递归神经网络或者长短时记忆网络)相结合的方式来解决,以生成一段文字序列来形成一则合适的图像描述。在本章中,我们将探索一种有趣的方式来构建一个自动图像描述或者场景识别系统。

为了构建这个由深度学习和迁移学习驱动的系统,本章将涉及以下内容:

  • 理解图像描述;
  • 明确目标;
  • 自动图像描述的方法;
  • 使用迁移学习进行图像特征提取;
  • 构建一个词汇表用于描述;
  • 构建一个图像描述数据集生成器;
  • 构建图像语言编码器-解码器深度学习模型;
  • 训练图像描述深度学习模型;
  • 自动图像描述实战。

为了构建自动图像描述生成器,本章将涵盖包括计算机视觉和自然语言处理的核心概念。我们将深入研究一个合适的结合迁移学习的深度学习架构,并在一个流行且易得的图像数据库上来实现我们的系统。同时我们还将展示如何在新的照片和场景中构建和测试自动图像描述生成器。本章的配套代码可以在异步社区网站获取。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

(Re)Value

(Re)Value

Adam Wallace
深度学习实战手册(R语言版)

深度学习实战手册(R语言版)

Posts & Telecom Press, PKS Prakash, Achyutuni Sri Krishna Rao
Python计算机视觉和自然语言处理

Python计算机视觉和自然语言处理

Posts & Telecom Press, Álvaro Morena Alberolaï, Gonzalo Molina Gallegoï, Unai Garay Maestreï
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9781836205418