Slide 1

Slide 1 text

AWS re:Invent 2018 Recap - [email protected] AWS re:Invent 2018 Recap Ryan Chung III Digital Education Institute 1

Slide 2

Slide 2 text

AWS re:Invent 2018 Recap - [email protected] 資策會 數位教育研究所 ² 最新科技進修 Ø 在職夜間假日進修 Ø 轉職全天養成班 ² 資訊技術充電站 Ø 國際技術趨勢 Ø 職場必備能力 Ø 基本資訊技能 http://taipei.iiiedu.org.tw/ 2

Slide 3

Slide 3 text

AWS re:Invent 2018 Recap - [email protected] Ryan Chung ² 主要教授科目 Ø 語音助理應用開發 Ø Chatbot應用開發 Ø Web / App 應用 ² 資策會數位教育研究所 Ø 課程經理 / 養成班導師 Ø 企業包班 / 政府專案經理 Ø 課程專任講師 / 專題輔導 http://mobiledev.tw/ryan 3

Slide 4

Slide 4 text

AWS re:Invent 2018 Recap - [email protected] Why join? 4

Slide 5

Slide 5 text

AWS re:Invent 2018 Recap - [email protected] 開幕式的半夜發表新服務 5

Slide 6

Slide 6 text

AWS re:Invent 2018 Recap - [email protected] AWS RoboMaker • 整合開發、模擬環境以及部署應用 • 直接利用雲端的機器學習、監控服務來打造機器人, 能夠移動、溝通、理解並學習 • 採用開放原始碼的Robot Operating System(ROS) 6

Slide 7

Slide 7 text

AWS re:Invent 2018 Recap - [email protected] AWS RoboMaker • Sample Applications 7 https://console.aws.amazon.com/robomaker/home

Slide 8

Slide 8 text

AWS re:Invent 2018 Recap - [email protected] AWS RoboMaker • Sample Applications 8 https://console.aws.amazon.com/robomaker/home

Slide 9

Slide 9 text

AWS re:Invent 2018 Recap - [email protected] AWS RoboMaker • Sample Applications 9 https://console.aws.amazon.com/robomaker/home

Slide 10

Slide 10 text

AWS re:Invent 2018 Recap - [email protected] AWS AI https://aws.amazon.com/machine-learning/ 10

Slide 11

Slide 11 text

AWS re:Invent 2018 Recap - [email protected] AWS AI https://aws.amazon.com/machine-learning/ NEW NEW NEW 11

Slide 12

Slide 12 text

AWS re:Invent 2018 Recap - [email protected] New AWS AI Services • Amazon Forecast – 與Amazon.com本身使用相同的技術架構。透過組合時間序列資料 以及附加的一些變數來建構預測分析。 • Amazon Personalize – 即時提供個人化推薦。只要提供由你的應用程式所產生的活動數據 ,例如Page View, 註冊資訊, 購買記錄等等。然後再提供你想推薦 的內容,如文章、產品、影片或音樂等,Amazon Personalize會 依據你提供的資料產生模型。 • Amazon Textract – 從掃描文件中自動萃取出文字的服務。不只是文字,也能夠從表格 中取出數據的格式與資訊。 – 你可以加速文件處理流程,也能夠建立智慧搜尋索引,例如看到什 麼內容就自動簽核通過。 12

Slide 13

Slide 13 text

AWS re:Invent 2018 Recap - [email protected] AWS AI https://aws.amazon.com/machine-learning/ NEW 13

Slide 14

Slide 14 text

AWS re:Invent 2018 Recap - [email protected] AWS DeepRacer 14 https://www.amazon.com/dp/B07JMHRKQG

Slide 15

Slide 15 text

AWS re:Invent 2018 Recap - [email protected] What's in the box 15

Slide 16

Slide 16 text

AWS re:Invent 2018 Recap - [email protected] 基本組裝連線步驟 1. 拆開4個pin針,抬起車身安裝電池(黑線對黑線、白線對白線),然 後再將pin針插回 2. 將行動電源放置於身上空盒位置、固定(USB孔朝後) 3. 插上電源,啟動車上電腦,出現藍色電源燈代表開機成功 4. 下載官網wifi-creds.txt,填上在地Wifi SSID, 密碼,然後將檔案存 至隨身碟,插至小車後方USB孔 5. 當小車Wifi LED燈固定亮時,代表確認連上無線網路 6. 移除USB,改插至PC,裡面有device-status.txt 確認上網IP 7. 用瀏覽器連至該IP,確認汽車軟體更新 8. 完成後,移除電源插線,改使用USB-C線連至行動電源,再度開啟 車上電腦 9. 確認連上Wifi後,使用平板或手機瀏覽器連至該IP,輸入車輛背後 密碼 10. 選擇手動模式(manual),即可以手指控制車輛移動 16

Slide 17

Slide 17 text

AWS re:Invent 2018 Recap - [email protected] 車子連上Wifi, 然後用瀏覽器連上車子 17

Slide 18

Slide 18 text

AWS re:Invent 2018 Recap - [email protected] 手動控制 -> 自動控制 18

Slide 19

Slide 19 text

AWS re:Invent 2018 Recap - [email protected] 建模 -> 實體車 -> 競賽 19

Slide 20

Slide 20 text

AWS re:Invent 2018 Recap - [email protected] 競賽 / 學習 / 娛樂 / 推廣 / 使用 20

Slide 21

Slide 21 text

AWS re:Invent 2018 Recap - [email protected] 賞罰分明 21

Slide 22

Slide 22 text

AWS re:Invent 2018 Recap - [email protected] 開發流程 22

Slide 23

Slide 23 text

AWS re:Invent 2018 Recap - [email protected] Why AWS create DeepRacer? 23

Slide 24

Slide 24 text

AWS re:Invent 2018 Recap - [email protected] 實體車技術架構 24

Slide 25

Slide 25 text

AWS re:Invent 2018 Recap - [email protected] 類神經網路架構 -> 6種輸出結果 25

Slide 26

Slide 26 text

AWS re:Invent 2018 Recap - [email protected] SageMaker RL & RoboMaker 26

Slide 27

Slide 27 text

AWS re:Invent 2018 Recap - [email protected] 模擬、獎懲 -> 更新模型 -> 模擬、獎懲 27

Slide 28

Slide 28 text

AWS re:Invent 2018 Recap - [email protected] 問題拆解 • 目標 Objective – 如何讓無人車保持靠近道路中線? • 環境 Environment – 透過 AWS RoboMaker 3D模擬器 • 狀態 State – 來自無人車上的照相機 • 行動 Action – 控制輪胎方向 • 獎懲 Reward – 例如靠近中線就加分、遠離就扣分 28

Slide 29

Slide 29 text

AWS re:Invent 2018 Recap - [email protected] Reward Function Design 29

Slide 30

Slide 30 text

AWS re:Invent 2018 Recap - [email protected] Input Parameters 30 Parameter Type Range Description on_track boolean True|False The vehicle is off track (False) if the front of the vehicle is outside of the white lines, otherwise, it's on track (True). x float [0,inf] Location of the vehicle along the x-axis, starting from 0. y float [0,inf] Location of the vehicle along the y-axis, starting from 0. distance_from_center float [0,track_width/2] Displacement from the center line of the track as defined by waypoints. car_orientation float [-π, π] Orientation of the vehicle around its z-axis as measured against the x- axis in radians. If the vehicle starts in the direction of the x-axis of the track, the car_orientation is 0 at the starting point. progress float [0,1] Percentage of track completed. steps int [0,n] Number of steps completed. throttle float [0,1] Vehicle's speed. 0 indicates stopped and 1 means at the maximum speed. steering float [-1,1] Steering position. -1 means right and 1 means left. track_width float [0,inf] Track width. waypoint (float,float) (x,y) A coorindate of (x, y) defining a point on the track. waypoints list [(x,y), …] An ordered list of waypoints. closest_waypoint int [0, number of waypoints -1] The zero-based index of the closest waypoint given the vehicle's x and y positions as measured by the Euclidean distance. It can be in front of the vehicle or behind it.

Slide 31

Slide 31 text

AWS re:Invent 2018 Recap - [email protected] 賽車場 31

Slide 32

Slide 32 text

AWS re:Invent 2018 Recap - [email protected] Amazon Alexa Updates 32

Slide 33

Slide 33 text

AWS re:Invent 2018 Recap - [email protected] Amazon Alexa – ASK CLI • 簡化開發流程 – 過去Alexa開發的流程 • 開發者站新增一個技能、設定 • AWS Lambda建立函數 • 本機端開發技能,上傳至Lambda • 再在開發者站設定對應到Lambda,然後在開發者站進行測試 – 新推出的ASK CLI • 在本機端直接上傳資料至開發者站與AWS Lambda,一次全部 建立完成,並且連結好 • 做完開發者只要到開發者站的測試功能進行測試即可 33

Slide 34

Slide 34 text

AWS re:Invent 2018 Recap - [email protected] Alexa Presentation Language • 因應各種不同尺寸的螢幕呈現,並且提供模擬工具,寫完 即可看到顯示效果。 34

Slide 35

Slide 35 text

AWS re:Invent 2018 Recap - [email protected] IKP (In-Skill Purchasing) • 語音助理的技能也從完全免費進化到有付費購買機制。開 發者可以將語音助理技能內部分的內容設計為付費, Amazon會收取30%的平台費用。 • 付費技能的種類有一次性購買、週期訂閱以及批次購買。 35

Slide 36

Slide 36 text

AWS re:Invent 2018 Recap - [email protected] 互動教學方式 36

Slide 37

Slide 37 text

AWS re:Invent 2018 Recap - [email protected] Keynote 37

Slide 38

Slide 38 text

AWS re:Invent 2018 Recap - [email protected] 1hr Public Speech Session 38

Slide 39

Slide 39 text

AWS re:Invent 2018 Recap - [email protected] 2.5 hr Hands-on Workshop 39

Slide 40

Slide 40 text

AWS re:Invent 2018 Recap - [email protected] Certification Workshop 40

Slide 41

Slide 41 text

AWS re:Invent 2018 Recap - [email protected] 1hr Concept Discussion Session 41

Slide 42

Slide 42 text

AWS re:Invent 2018 Recap - [email protected] 1to5 Expert Advanced Workshop 42

Slide 43

Slide 43 text

AWS re:Invent 2018 Recap - [email protected] 行前建議 1. 一定要提前選課 由於參加人數眾多,若沒有先選課的話,到時一定全部 都是候補,不一定進得去你想聽的場次。 2. 提早報名、訂飯店 CP值較高的飯店很早就滿了 3. 實作工作坊優先報名 實作工作坊通常沒有錄影,現場提供實作的網頁或資料 ,然後有時還會有驚喜實體贈品 4. 每天最好盡量選同一飯店的課程 飯店與飯店之間走路大約都要20~40分鐘以上 43

Slide 44

Slide 44 text

AWS re:Invent 2018 Recap - [email protected] 結論 1. AI服務商業化逐漸成熟 中小企業要能自己發展出足以匹敵的模型日漸困難,除 非結合特定產業Know-How 2. 雲端服務無所不在 要發展跨國生意的門檻越來越低,利用現有的雲端服務 ,就可以做到,並且能以量計價 3. 從雲端到實體全面整合 AWS為了擴大使用族群,也開始發展了自己的實體無人 車學習套件,並籌組無人車聯盟大賽,當大家都加入這 樣的學習模式,又可以更擴大雲端服務的使用,從雲端 到實體全面整合。 44

Slide 45

Slide 45 text

AWS re:Invent 2018 Recap - [email protected] 敬請指教 Ryan Chung Senior Engineer III Digital Education Institute [email protected] 45