Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
機械学習エンジニアのための新サービス/DeepLens & SageMaker
Search
ryo nakamaru
December 14, 2017
Technology
0
1k
機械学習エンジニアのための新サービス/DeepLens & SageMaker
re:Invent2017 で発表された新サービスについて JAWS-UG AI 支部で LT しました
ryo nakamaru
December 14, 2017
Tweet
Share
More Decks by ryo nakamaru
See All by ryo nakamaru
AWSで楽をするサービスメッシュ入門/appmesh-trial
pottava
1
1.4k
reinforce-2019-recap-lt
pottava
2
4.1k
ScaleShift-jp-2019-summer
pottava
1
200
Firecracker とは何か/what is Firecracker
pottava
13
5.3k
ハイブリッド並列 on Kubernetes/hybrid-parallel-program-on-kubernetes
pottava
1
410
AWS Fargate + Code 兄弟で始める継続的デリバリー / Continuous Delivery with AWS Fargate and Code brothers
pottava
12
3.1k
Singularity と NVIDIA GPU Cloud で作る ハイブリッド機械学習環境の構築 / Building a hybrid environment for Machine Learning with Singularity and NGC
pottava
3
1.3k
明日から始めるちょい足し λ / get-started-with-aws-lambda
pottava
4
2.4k
NGC と Singularity によるハイブリッド機械学習環境 / A hybrid environment for Machine Learning with NGC and Singularity
pottava
0
470
Other Decks in Technology
See All in Technology
『AWS Distinguished Engineerに学ぶ リトライの技術』 #ARC403/Marc Brooker on Try again: The tools and techniques behind resilient systems
quiver
0
130
FastConnect の冗長性
ocise
1
9.6k
プロセス改善による品質向上事例
tomasagi
1
1.6k
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
MC906491 を見据えた Microsoft Entra Connect アップグレード対応
tamaiyutaro
1
480
アジャイル開発とスクラム
araihara
0
160
君も受託系GISエンジニアにならないか
sudataka
2
370
生成AIの利活用を加速させるための取り組み「prAIrie-dog」/ Shibuya_AI_1
visional_engineering_and_design
1
140
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
15
5.5k
目の前の仕事と向き合うことで成長できる - 仕事とスキルを広げる / Every little bit counts
soudai
22
5.8k
Larkご案内資料
customercloud
PRO
0
600
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
320
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
540
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Designing Experiences People Love
moore
139
23k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
The World Runs on Bad Software
bkeepers
PRO
67
11k
GitHub's CSS Performance
jonrohan
1030
460k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
31
2.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Transcript
機械学習エンジニアのための新サービス DeepLens & SageMaker JAWS-UG AI #6 @ Dec 14,
2017 Ryo NAKAMARU, SUPINF Inc. / Rescale, Inc.
Amazon SageMaker
3
SageMaker 4 設計 学習 デプロイ • ワンクリック起動 Jupyter notebook •
プリセットされた 機械学習アルゴリ ズム群 ▶ ▶ • ジョブを定義し 学習開始 • 並列分散学習 • ハイパーパラメタ 最適化 • シンプルな API で モデルをデプロイ • フルマネージドな 推論エンドポイント の提供
SageMaker • 一部機能だけの利用も OK ‣ 設計+学習機能だけ使う ‣ 推論エンドポイントだけ使う etc.. •
抽象度の高い SageMaker API • Docker を使えば学習・推論のカスタマイズも 5
SageMaker API 6 • 学習 from sagemaker import KMeans kmeans
= KMeans(k=10, data_location=s3_data_location, output_path=s3_output_location, train_instance_type='ml.c4.8xlarge', train_instance_count=4, role=execution_iam_role) kmeans.fit(kmeans.record_set(train_set[0]))
SageMaker API • デプロイ 7 predictor = kmeans.deploy(instance_type='ml.m4.xlarge', initial_instance_count=1)
SageMaker API 8 • 推論 result = predictor.predict(valid_set[0][0:100])
SageMaker inference bot 9
AWS DeepLens
11
DeepLens での推論 12 DeepLens raw data Local 動画生データ
DeepLens での推論 13 DeepLens raw data Local results Greengrass Inference
with 推論
DeepLens での推論 14 DeepLens raw data Local results AWS Greengrass
IoT Rule Lambda Inference with MQTT 「ホットドック があったよ」
DeepLens へのデプロイ 15 DeepLens AWS SageMaker Trained by EC2 Model
学習
DeepLens へのデプロイ 16 DeepLens AWS DeepLens SageMaker a project Model
Model モデルを インポート
DeepLens へのデプロイ 17 DeepLens AWS DeepLens a project Model 推論
& AWS IoT 連携の実装
DeepLens へのデプロイ 18 DeepLens AWS Greengrass Inference with DeepLens a
project Model デプローイ
DeepLens • 開発者向けデバイス ‣ 動画を使う深層学習をローカルで手軽に回せる ‣ デバイスへのデプロイもとても簡単! • HD ビデオ
& 秒間 10 億回の浮動小数点数演算能力 • 249 USD で予約受付中(Amazon.com) 19
中丸 良 @pottava • AWS Certified Solutions Architect, DevOps Engineer
- Professional • CTO at SUPINF Inc • Solutions Architect at Rescale, Inc. Profile 20
Containerize your app! 21 • クラウド / コンテナ を強みにした受託開発運用、コンサルティング •
2015 年から Docker の本番運用を開始・豊富な CI / CD 事例 • スピンフ、と読みます・・
Cloud HPC with 22 • クラウド HPC シミュレーションプラットフォームの提供 • 2011
年初頭に設立、Peter Thiel や Microsoft から出資 • スケーラブルなシミュレーションや機械学習を!
ご静聴ありがとうございました :) 参考文献: • AWS re:Invent 2017: Introducing Amazon SageMaker
(MCL365) https://www.youtube.com/watch?v=4pbXdsjZx_k • Amazon SageMaker – 機械学習を加速する | Amazon Web Services ブログ https://aws.amazon.com/jp/blogs/news/amazon-sagemaker/ • Extend AWS DeepLens to Send SMS Notifications with AWS Lambda | AWS AI Blog https://aws.amazon.com/jp/blogs/ai/extend- aws-deeplens-to-send-sms-notifications-with-aws-lambda/