Submit Search
Upload
基板画像分類コンペお話
•
0 likes
•
144 views
R
Ruketa
Follow
AIQuest2020で実施した基盤画像分類コンペのお話です
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 23
Download now
Download to read offline
Recommended
パワポ版の落合先生流論文要旨のテンプレートを作ったので配布する
パワポ版の落合先生流論文要旨のテンプレートを作ったので配布する
森 哲也
落合流先生流の論文要旨フォーマット
落合流先生流の論文要旨フォーマット
森 哲也
学習モデルの検証
学習モデルの検証
Ruketa
Case study of online machine learning for display advertising in Yahoo! JAPAN
Case study of online machine learning for display advertising in Yahoo! JAPAN
DataWorks Summit/Hadoop Summit
テクニカルアーティストの仕事とスキル ~パイプライン系TAの事例~
テクニカルアーティストの仕事とスキル ~パイプライン系TAの事例~
Manabu Murakami
拡がるディープラーニングの活用
拡がるディープラーニングの活用
NVIDIA Japan
Genius Halloween Festival 2016
Genius Halloween Festival 2016
なおき おさだ
Xp Terakoya No04
Xp Terakoya No04
takepu
Recommended
パワポ版の落合先生流論文要旨のテンプレートを作ったので配布する
パワポ版の落合先生流論文要旨のテンプレートを作ったので配布する
森 哲也
落合流先生流の論文要旨フォーマット
落合流先生流の論文要旨フォーマット
森 哲也
学習モデルの検証
学習モデルの検証
Ruketa
Case study of online machine learning for display advertising in Yahoo! JAPAN
Case study of online machine learning for display advertising in Yahoo! JAPAN
DataWorks Summit/Hadoop Summit
テクニカルアーティストの仕事とスキル ~パイプライン系TAの事例~
テクニカルアーティストの仕事とスキル ~パイプライン系TAの事例~
Manabu Murakami
拡がるディープラーニングの活用
拡がるディープラーニングの活用
NVIDIA Japan
Genius Halloween Festival 2016
Genius Halloween Festival 2016
なおき おさだ
Xp Terakoya No04
Xp Terakoya No04
takepu
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
基板画像分類コンペお話
1.
基盤画像分類 コンペのお話 Takeru Kurihara (
@Ruketa )
2.
あなたはだれ? 栗原健(くりはら たける) Twitter:Ruketa(@kuripoon) ランニング Personal 製造業向けシステム開発 例:CAD/CAM Favorite Work ・業務の合間に勉強中 ・好きなライブラリ Pytorch Machine Learning
3.
AIQuestについて
4.
コンペってなに? 主催者側から提供されたデータで分析を行い 参加者間でスコアを競うイベント
5.
コンペの概要 データ 分析 モデル 作成 推論 結果 提出 ランキング Public Leader Board 期間中は何度も繰り返す ランキング Private Leader Board Public と Privateの違い
6.
コンペの内容 課題設定 基盤画像からハンダの良品・不良品判定 画像数 良品:100枚、不良品(角:57枚、ブリッジ:30枚、芋:103枚) 評価指標:F1スコア → 1.0に近い程良い値
7.
コンペの結果 最終順位:68位 / 225人 最終スコア:0.9215686 提出回数:30 期間:10/15
~ 11/06 約3週間
8.
やったこと
9.
ベースラインの作成 1. 学習用データ読込 2. 前処理:リサイズ(224
X 224) 3. モデル作成 a. VGG16で転移学習 b. 良品、不良品の2分類 4. 学習 a. Epoch数:10, Batch size : 64くらい, 最適化:Adam 5. 評価(Hold out ⇒ 8:2で分割) 6. 提出データ作成して提出 ⇒ スコアは0.8くらいでした。
10.
前処理の追加 基盤部分の切り取り 元画像 必要なのはここだけ 背景は不要
11.
基盤の切り抜き OpenCVで対応 元画像 グレースケール 2値化
矩形抽出 結果
12.
データ水増し ⇒ 効果あったが、Epoch数増やさないとLossが下がりきらない Epoch数を上げて対応。10 ⇒ 100くらい 学習時間が30~40分くらいになる
13.
回転、反転(水増しに利用) ・Pytorchの以下のメソッドを使用 ・torchvision.transforms.RandomHorizontalFlip ・torchvision.transforms.RandomRotation
14.
良・不良 ⇒ 正常・芋・角・ブリッジ 2分類から4分類へ リサイズ Convolution VGG16 良:0.6 角:0.1 芋:0.1 ブリッジ:0.2
15.
分類モデルの変更 VGG16より新しいモデルを試した ・Resnet(50, 152 …
) ・DenseNet ・EfficientNet 試した時点では劇的な効果なかった。。。 前処理 > モデル
16.
学習パラメータの調整 実行環境はGoogleColaboratoryを使っていた。 何度もGPUリソースの使用上限に達して辛かった。⇒12h以上待たないといけない。
17.
ここまでやって期限前日になった 目標:100位より上、頑張って50位以上 この時の順位:120位くらい PL:0.87 上位は0.98 ~ 0.99で争ってた。。。
18.
さいごの悪あがき とりあえず、推論結果を眺める
19.
さいごの悪あがき んっ? 結構結果がバラついている 1 0
0 0 1 1 0 0 2 0
20.
さいごの悪あがき 今までは1回の推論結果しか見てなかった 1 0 0
0 1 1 0 0 2 0 一番多い結果を採用してみよう
21.
0.87 少し改善した 0.92 68位
22.
感想とまとめ 1. 画像処理、何が効くかわからない 2. 計算力は力 3.
試行錯誤は勉強になる 4. 上位の人たちを競争を見るときは 炭治郎の気持ち
23.
おわり ありがとうございました!!
Download now