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
AWS演習(2)- DLAMI・Jupyter Notebook・TensorFlow
Search
axi-sugiki
February 05, 2019
Education
0
45
AWS演習(2)- DLAMI・Jupyter Notebook・TensorFlow
授業の演習で使用した資料です.一コマの演習,また2年生を対象とした演習で,1年生では専門教育を行わず,2年生から学部・学科に配属されるため,この辺りに水準を合わせています.
axi-sugiki
February 05, 2019
Tweet
Share
More Decks by axi-sugiki
See All by axi-sugiki
AWS演習(1)- EC2インスタンスの作成
axisugiki
0
66
AWS演習(3)- GitHub・ソーシャルコーディング
axisugiki
0
23
AWS演習(4)- Docker・OSコンテナ
axisugiki
0
41
AWS演習(未実施)- Rekognition・Lambda・S3
axisugiki
0
68
AWS演習(未実施)- EMR・MapReduce
axisugiki
1
27
AWS演習_未7.pdf
axisugiki
0
49
Other Decks in Education
See All in Education
SkimaTalk Teacher Guidelines
skimatalk
0
790k
諸外国の理科カリキュラムにおけるビッグアイデアの構造比較
arumakan
0
310
推しのコミュニティはなんぼあってもいい / Let's join a lot of communities.
kaga
2
1.7k
SARA Annual Report 2024-25
sara2023
1
180
ふりかえり研修2025
pokotyamu
0
1.2k
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
180
SkimaTalk Tutorial for Corporate Customers
skimatalk
0
280
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
16k
(キラキラ)人事教育担当のつらみ~教育担当として知っておくポイント~
masakiokuda
0
100
i-GIP 2025 中高生のみなさんへ資料
202200
0
480
2025年度春学期 統計学 第5回 分布をまとめるー記述統計量(平均・分散など) (2025. 5. 8)
akiraasano
PRO
0
110
技術勉強会 〜 OAuth & OIDC 入門編 / 20250528 OAuth and OIDC
oidfj
5
1.2k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Designing for humans not robots
tammielis
253
25k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Designing for Performance
lara
609
69k
BBQ
matthewcrist
89
9.7k
A designer walks into a library…
pauljervisheath
206
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Transcript
AWS2 DLAMIJUPYTER NOTEBOOK TENSORFLOW axi-sugiki
+)02 ◦ Amazon EC2 ◦ Amazon '(! ◦ Deep
Learning AMI5DLAMI6 ◦ /%$21 '4" ◦ Jupyter Notebook ◦ .-$23,1 ◦ TensorFlow ◦ &*#.-$2 2
DLAMI4Deep Learning AMI5 ◦ Amazon("+%$0- ◦ Python /, 4Conda5
◦ +%$0 4MXNet, TensorFlow, PyTorch, Chainer, CNTK, Keras, Caffe…5 ◦ GPU-4CUDA5 ◦ 3.#)- 4Jupyter Notebook5 3 +%$0&2*1!'("
DLAMI 1/3 ◦ EC2 Deep Learning AMI ◦ UbuntuBase
AMI 4
DLAMI >+@2/3A ◦ && ◦ t2.medium@2/4GiBA?2 ◦ *.CPUB !$0:
◦ "$%' ◦ Web Security Group)6@SSH 0:A ◦ ' ◦ 4'(1 ◦ ◦ Namedlami-@#'-A ;/ ◦ Owner@#'-A ;/ 5 <7 *. 58=3,9
DLAMI&(3/3) ◦ !Running *SSH#% " 6 ! DNS IP
($'%) AMI
SSH Port Forwarding&Tunneling' 7 ◦ Local% Remote%
SSH !" # SSH"&TCP/22' 8888 localhost 8888 Local Forwarding&-L' Remote Forwarding&-R' Local Remote Local% : % % $ " Remote% $
Tera TermSSH-2 57 ◦ (1) SSH-2 ◦ -2$EC2 IP DNS
◦ (ec2-user ◦ 1. ◦ RSA/DSA9"/ 8+: ,); ◦ (2) SSH 574) ◦ SSH-2*<4)→SSH57 8+ ◦ 6' 8+<!3 %& ◦ 88880 ◦ #127.0.0.188880 8
Jupyter Notebook$ ◦ Tera TermSSH" $ jupyter notebook ◦
! URL Web # 9 URL Web #
Jupyter Notebook ◦ '&- 0%) 3 ◦ Python14!9R14).
◦ Numpy7#2+65:/(+)8 ◦ Pandas7 0%:$, )8 ◦ Matplotlib7 "*8 10
Notebook #%! ◦ New notebook! ◦ Notebook ◦ *
&$'( 11 ) Python3 +" New+" ) Python3 +"
Notebook"1/5# ◦ $! 12 (1)
(2) $Shift + Enter (3)
Notebook%*2/5+ ◦ % 13 Notebook(Close and Halt '& #!
Notebook $*)"+.ipynb $+
Notebook ( 43/55 ◦ 2 ( 14 + -/
+ 3/ 4 .25 4 ( 5 Shift+Enter&0 ( Enter Esc vi $, %) Esc1' Enter/Esc !#" *
Notebook /#>4/5? ◦ $3/# ◦ ↑ k@!
5) ◦ ↓ j@" 5) ◦ a@! 08#. ◦ b@" 08#. ◦ dd@'=>d2*%(? ◦ h@/# 974 ◦ m@Markdown-,>;1:<3? &2 ◦ y@-,>+63? &2 15 %( >Esc &2?
Notebook '55/56 ◦ Markdown&$ 03 ◦ #7##7###8/ 51,2,3,…6 ◦ -8-+)5,#
1.6 ◦ ***%2****8%2 16 Markdown/Code!*". 41(03
TensorFlow/C ◦ *GoogleLE >=3H#&!$& ◦ DLAMITensorFlowB2.< ◦ :@1NConda/COQ ◦ SSH%&"
'I+0NJupyter)?P,4J1O $ source activate tensorflow_p36 ◦ :@2NJupyter NotebookGDOQ ◦ (7; EnvironmentNconda_tensorflow_p36OK8 17 %% 5 %&" P 9-F4;M A6
49 ◦ DLAMI TensorFlow16%/ ◦ https://www.tensorflow.org/tutorials/ ◦ MNIST'+)$25;16 7& <
◦ :,-Keras16 !. ◦ # =0( " 8 %/ ◦ =Markdown 3*16 18
MNIST 1/2 ◦ Matplotlib ◦ 19
MNIST 2/2 ◦ 20
59< ◦ "4 Notebook(2 ◦ A. Geron, “Hands-On
Machine Learning with Scikit-Learn & TensorFlow”, O’Reilly. ◦ https://github.com/ageron/handson-ml ◦ )+8%6,” & :.*,$&1”,#/ ◦ https://github.com/YutaroOgawa/Deep-Reinforcement- Learning-Book 21 clone or download 30URL-'; "4 SSH ! (2 $ git clone {URL} CloneNotebook Jupyter Notebook 7
#17Amazon SageMaker ◦ AmazonJupyter Notebook,+&0 ◦
-3 '65/6&06)4(*! ◦ AWS,+&0.% ◦ " $2 22
") ' ◦ #% & (' & ◦ !
' ($ 23