Skip to Content
Transformer実践ガイド ―画像・音声・時系列からエージェントまで
book

Transformer実践ガイド ―画像・音声・時系列からエージェントまで

by Nicole Koenigstein, 中山 光樹
October 2026
384 pages
6h 14m
Japanese
O'Reilly Japan, Inc.
Content preview from Transformer実践ガイド ―画像・音声・時系列からエージェントまで

3章ビジョンタスクのためのTransformer

コンピュータビジョンにおけるTransformerの重要な利点の1つは、大規模データを用いた事前学習を通じて得られる高い転移性能です。特に、画像と言語を対応付けて学習したモデルや、セグメンテーション向けに大規模データで学習された基盤モデルでは、少数ショット学習やゼロショット学習に近い使い方が可能になります。

画像へのラベル付けはコストが高く、がん検出のように十分なラベルを確保しにくい分野も少なくありません。そのため、少数のサンプルでも高い性能を発揮できる画像分類モデルやセグメンテーションモデルは、大きな価値を持ちます。従来のCNNベースのモデルも医療画像などで広く使われてきましたが、大規模データを用いて事前学習したTransformerモデルは、データ不足が深刻なタスクにおいて有力な選択肢になります。

Transformerは、自然言語処理で大きな成功を収めた後、コンピュータビジョンにも広く応用されるようになりました。その代表例がVision Transformer(ViT)†1です。ViTは、画像をパッチに分割し、パッチをトークンとして扱うことで、Transformerを画像分類に適用できることを示しました。これにより、Transformerがコンピュータビジョンでも有効であることが明らかになりました。

[†1] Alexey Dosovitskiy et al. "An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale"(https://arxiv.org/abs/2010.11929) (2020).

本章では、まず画像分類、セマンティックセグメンテーション、インスタンスセグメンテーション、パノプティックセグメンテーションの違いを整理します。その後、Swin ...

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

Python Crash Course, 3rd Edition

Python Crash Course, 3rd Edition

Eric Matthes
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
Fundamentals of Data Engineering

Fundamentals of Data Engineering

Joe Reis, Matt Housley

Publisher Resources

ISBN: 9784814401833Publisher Website