SlideShare una empresa de Scribd logo
1 de 50
CLOUD STUDY JAM
ML API
GDG Taichung
Duran Hsieh
AGENDA
• Requirements
• Awwvision: Cloud Vision API from
a Kubernetes Cluster
• Classify Images of Clouds in the
Cloud with AutoML Vision
• Implementing an AI Chatbot with
Dialogflow
• Q&A
REQUIREMENTS
4Presented By: Duran Hsieh
REQUIREMENTS
• 取得API KET,寫入環境變數
• export API_KEY=<YOUR_API_KEY>
• 專案名稱寫入 環境變數
• export PROJECT=<your_project_name>
• 將建立Storage bucket,將圖片放入 storage
• 建立 request.json
• 呼叫 API 取得結果
AWWVISION: CLOUD VISION
API FROM A KUBERNETES
CLUSTER
6Presented By: Duran Hsieh
AWWVISION: CLOUD VISION API FROM A KUBERNETES
CLUSTER
• Create a Kubernetes Engine cluster
• 在us-central1-a建立群集:
gcloud config set compute/zone us-central1-a
• 啟動指令:
gcloud container clusters create awwvision 
--num-nodes 2 
--scopes cloud-platform
7Presented By: Duran Hsieh
AWWVISION: CLOUD VISION API FROM A KUBERNETES
CLUSTER
• 等待並檢視建立進度
• 透過憑證啟動容器群集:
gcloud container clusters get-credentials awwvision
• 透過 kubectl command-line 工具確認運作正常:
kubectl cluster-info
8Presented By: Duran Hsieh
AWWVISION: CLOUD VISION API FROM A KUBERNETES
CLUSTER
• 取得範例
git clone https://github.com/GoogleCloudPlatform/cloud-
vision
• 佈署範例:
cd cloud-vision/python/awwvision (變更目錄)
make all
• 檢查 k8s 資源:
kubectl get pods
• 列出正在運作的佈署:
kubectl get deployments -o wide
9Presented By: Duran Hsieh
AWWVISION: CLOUD VISION API FROM A KUBERNETES
CLUSTER
• 取得範例
git clone https://github.com/GoogleCloudPlatform/cloud-
vision
• 佈署範例:
cd cloud-vision/python/awwvision (變更目錄)
make all
• 檢查 k8s 資源:
kubectl get pods
• 列出正在運作的佈署:
kubectl get deployments -o wide
10Presented By: Duran Hsieh
AWWVISION: CLOUD VISION API FROM A KUBERNETES
CLUSTER
• 取得外部 IP
kubectl get svc awwvision-webapp
• 檢查進度:
cd cloud-vision/python/awwvision (變更目錄)
make all
• 透過外部 IP 連接到網站,檢視網站
CLASSIFY IMAGES OF
CLOUDS IN THE CLOUD
WITH AUTOML VISION
12Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• Set up AutoML Vision
• APIs & Services > Library > Cloud AutoML API
13Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• 設定環境變數
• export PROJECT_ID=$DEVSHELL_PROJECT_ID
• export
QWIKLABS_USERNAME=<QWIKLABS_USERNAME>
14Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• 給予權限
15Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• 建立 Storage Bucket
gsutil mb -p $PROJECT_ID 
-c regional 
-l us-central1 
gs://$PROJECT_ID-vcm/
• 設定環境變數
• export BUCKET=YOUR_BUCKET_NAME
• 複製圖片到你的 Storage
gsutil -m cp -r gs://automl-codelab-clouds/*
gs://${BUCKET}
16Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• 建立 Storage Bucket
gsutil mb -p $PROJECT_ID 
-c regional 
-l us-central1 
gs://$PROJECT_ID-vcm/
• 設定環境變數
• export BUCKET=YOUR_BUCKET_NAME
• 複製圖片到你的 Storage
gsutil -m cp -r gs://automl-codelab-clouds/*
gs://${BUCKET}
17Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
18Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• 建立 dataset
• 複製檔案到 Cloud Shell instance
gsutil cp gs://automl-codelab-metadata/data.csv .
• 字串處哩,取代
sed -i -e "s/placeholder/${BUCKET}/g" ./data.csv
• 複製到 storage
gsutil cp ./data.csv gs://${BUCKET}
19Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• AutoML UI 介面加入 dataset
20Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• AutoML UI 介面加入 dataset
21Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• AutoML UI 介面
22Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• AutoML UI 介面
23Presented By: Duran Hsieh
CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH
AUTOML VISION
• AutoML UI 介面
IMPLEMENTING AN AI
CHATBOT WITH
DIALOGFLOW
25Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 前置作業
26Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 名詞解釋
27Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 名詞解釋
28Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 名詞解釋
29Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 名詞解釋
30Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 建立 Dialogflow:
• Navigation menu > APIs & Services > Dashboard
• Enable APIs and Services > 尋找並建立 Dialogflow
31Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Dialogflow.com 透過剛剛的Google 帳號註冊
32Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 建立 Agent:
• Agent name: Helpdesk
• Default Time zone: America/Denver
• Google Project: Your project Id
33Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 建立 Intent:
• Default Welcome Intent
34Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 建立 Training Phreases:
35Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 建立 response,並進行儲存:
36Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 測試:
37Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 加入客製內容
• 加入變數 give-name
38Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• 測試:
39Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Fulfillment:
40Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Fulfillment:
• 完成後按下 deploy 按鈕
41Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• New Intent:
42Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Try:
• Hi
• I would like to submit a ticket
• My name is John
• My phone screen is broken
43Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Storage - SQL
44Presented By: Duran Hsieh
IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
• Try:
CLOUD ML ENGINE:
QWIK START
46Presented By: Duran Hsieh
CLOUD ML ENGINE: QWIK START
• Install TensorFlow
47Presented By: Duran Hsieh
CLOUD ML ENGINE: QWIK START
• 取得API KET,寫入環境變數
48Presented By: Duran Hsieh
CLOUD ML ENGINE: QWIK START
• 取得API KET,寫入環境變數
QUESTION & ANSWERS
THANK YOU FOR
WATCHING

Más contenido relacionado

La actualidad más candente

Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for DocumentationAnne Gentle
 
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...Daniel Bryant
 
Infrastructure as Code for Network
Infrastructure as Code for NetworkInfrastructure as Code for Network
Infrastructure as Code for NetworkDamien Garros
 
Jenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementJenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementUdaypal Aarkoti
 
Building a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and PuppetBuilding a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and Puppetsmeunier114
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOpsBoyd Hemphill
 
Introduction to OpenShift Origin- Private, Public and Community
Introduction to OpenShift Origin- Private, Public and CommunityIntroduction to OpenShift Origin- Private, Public and Community
Introduction to OpenShift Origin- Private, Public and CommunityOpenShift Origin
 
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
Analyze This! CloudBees Jenkins Cluster Operations and AnalyticsAnalyze This! CloudBees Jenkins Cluster Operations and Analytics
Analyze This! CloudBees Jenkins Cluster Operations and AnalyticsCloudBees
 
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...Puppet
 
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Docker, Inc.
 
DevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of JenkinsDevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of JenkinsNigel Charman
 
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013 .Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013 Tikal Knowledge
 
Docker Best Practices Workshop
Docker Best Practices WorkshopDocker Best Practices Workshop
Docker Best Practices WorkshopAhmed AbouZaid
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for TestingMukta Aphale
 
Provisioning environments. A simplistic approach
Provisioning  environments. A simplistic approachProvisioning  environments. A simplistic approach
Provisioning environments. A simplistic approachEder Roger Souza
 
Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsGlobalLogic Ukraine
 
How Nuxeo uses the open-source continuous integration server Jenkins
How Nuxeo uses the open-source continuous integration server JenkinsHow Nuxeo uses the open-source continuous integration server Jenkins
How Nuxeo uses the open-source continuous integration server JenkinsNuxeo
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...CloudNativeElSalvado
 

La actualidad más candente (20)

Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for Documentation
 
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
 
Infrastructure as Code for Network
Infrastructure as Code for NetworkInfrastructure as Code for Network
Infrastructure as Code for Network
 
ChatOps in Action
ChatOps in ActionChatOps in Action
ChatOps in Action
 
Jenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous ImprovementJenkins + Docker = Continuous Improvement
Jenkins + Docker = Continuous Improvement
 
Building a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and PuppetBuilding a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and Puppet
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
 
Introduction to OpenShift Origin- Private, Public and Community
Introduction to OpenShift Origin- Private, Public and CommunityIntroduction to OpenShift Origin- Private, Public and Community
Introduction to OpenShift Origin- Private, Public and Community
 
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
Analyze This! CloudBees Jenkins Cluster Operations and AnalyticsAnalyze This! CloudBees Jenkins Cluster Operations and Analytics
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
 
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
 
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
 
DevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of JenkinsDevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of Jenkins
 
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013 .Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
 
GitHub for partners
GitHub for partnersGitHub for partners
GitHub for partners
 
Docker Best Practices Workshop
Docker Best Practices WorkshopDocker Best Practices Workshop
Docker Best Practices Workshop
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
 
Provisioning environments. A simplistic approach
Provisioning  environments. A simplistic approachProvisioning  environments. A simplistic approach
Provisioning environments. A simplistic approach
 
Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOps
 
How Nuxeo uses the open-source continuous integration server Jenkins
How Nuxeo uses the open-source continuous integration server JenkinsHow Nuxeo uses the open-source continuous integration server Jenkins
How Nuxeo uses the open-source continuous integration server Jenkins
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...
 

Similar a Cloud Study Jam - ML API 4

Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy wayJohn Azariah
 
Blue whale, jail and Microsoft
Blue whale, jail and MicrosoftBlue whale, jail and Microsoft
Blue whale, jail and MicrosoftLukasz Kaluzny
 
Kubernetes best practices
Kubernetes best practicesKubernetes best practices
Kubernetes best practicesBill Liu
 
Docker worshop @Twitter - How to use your own private registry
Docker worshop @Twitter - How to use your own private registryDocker worshop @Twitter - How to use your own private registry
Docker worshop @Twitter - How to use your own private registrydotCloud
 
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti
 
Docker Containers for Continuous Delivery
Docker Containers for Continuous DeliveryDocker Containers for Continuous Delivery
Docker Containers for Continuous DeliverySynerzip
 
Google compute engine - overview
Google compute engine - overviewGoogle compute engine - overview
Google compute engine - overviewCharles Fan
 
Orange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopOrange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopGamal Shaban
 
Interop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in ProductionInterop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in ProductionBrian Gracely
 
How to Use Your Own Private Registry
How to Use Your Own Private RegistryHow to Use Your Own Private Registry
How to Use Your Own Private RegistryDocker, Inc.
 
How to Train Your Docker Cloud
How to Train Your Docker CloudHow to Train Your Docker Cloud
How to Train Your Docker CloudC4Media
 
Ci/CD - Stop wasting time, Automate your deployments
Ci/CD  - Stop wasting time, Automate your deploymentsCi/CD  - Stop wasting time, Automate your deployments
Ci/CD - Stop wasting time, Automate your deploymentsJerry Jalava
 
Build containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfBuild containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfHamida Rebai Trabelsi
 
Automation in the Small: Code to Cloud
Automation in the Small: Code to CloudAutomation in the Small: Code to Cloud
Automation in the Small: Code to CloudJay Barker
 
Automate Your Automation | DrupalCon Vienna
Automate Your Automation | DrupalCon ViennaAutomate Your Automation | DrupalCon Vienna
Automate Your Automation | DrupalCon ViennaPantheon
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKHorea Porutiu
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021whywaita
 
Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016Alvaro Sanchez-Mariscal
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandTroublemaker Khunpech
 

Similar a Cloud Study Jam - ML API 4 (20)

Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy way
 
Blue whale, jail and Microsoft
Blue whale, jail and MicrosoftBlue whale, jail and Microsoft
Blue whale, jail and Microsoft
 
Kubernetes best practices
Kubernetes best practicesKubernetes best practices
Kubernetes best practices
 
Docker worshop @Twitter - How to use your own private registry
Docker worshop @Twitter - How to use your own private registryDocker worshop @Twitter - How to use your own private registry
Docker worshop @Twitter - How to use your own private registry
 
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate Everything
 
Docker Containers for Continuous Delivery
Docker Containers for Continuous DeliveryDocker Containers for Continuous Delivery
Docker Containers for Continuous Delivery
 
Google compute engine - overview
Google compute engine - overviewGoogle compute engine - overview
Google compute engine - overview
 
Orange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search WorkshopOrange developers day - Hibernate Search Workshop
Orange developers day - Hibernate Search Workshop
 
Interop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in ProductionInterop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in Production
 
How to Use Your Own Private Registry
How to Use Your Own Private RegistryHow to Use Your Own Private Registry
How to Use Your Own Private Registry
 
How to Train Your Docker Cloud
How to Train Your Docker CloudHow to Train Your Docker Cloud
How to Train Your Docker Cloud
 
Ci/CD - Stop wasting time, Automate your deployments
Ci/CD  - Stop wasting time, Automate your deploymentsCi/CD  - Stop wasting time, Automate your deployments
Ci/CD - Stop wasting time, Automate your deployments
 
Build containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdfBuild containerized application using Docker and Azure.pdf
Build containerized application using Docker and Azure.pdf
 
Automation in the Small: Code to Cloud
Automation in the Small: Code to CloudAutomation in the Small: Code to Cloud
Automation in the Small: Code to Cloud
 
Automate Your Automation | DrupalCon Vienna
Automate Your Automation | DrupalCon ViennaAutomate Your Automation | DrupalCon Vienna
Automate Your Automation | DrupalCon Vienna
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDK
 
Azure workshop
Azure workshopAzure workshop
Azure workshop
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
 
Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
 

Más de Duran Hsieh

聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?Duran Hsieh
 
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程Duran Hsieh
 
Visual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfVisual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfDuran Hsieh
 
GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase Duran Hsieh
 
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfDuran Hsieh
 
GitHub Action Introduction
GitHub Action IntroductionGitHub Action Introduction
GitHub Action IntroductionDuran Hsieh
 
GDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIGDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIDuran Hsieh
 
GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01Duran Hsieh
 
Study4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowStudy4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowDuran Hsieh
 
Microsoft recommendation solution on azure
Microsoft recommendation solution on azureMicrosoft recommendation solution on azure
Microsoft recommendation solution on azureDuran Hsieh
 
Microsoft professional program introduction
Microsoft professional program introductionMicrosoft professional program introduction
Microsoft professional program introductionDuran Hsieh
 
聰明的投資者
聰明的投資者聰明的投資者
聰明的投資者Duran Hsieh
 
聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevicesDuran Hsieh
 
Android 基礎課程補充資料
Android 基礎課程補充資料Android 基礎課程補充資料
Android 基礎課程補充資料Duran Hsieh
 
Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Duran Hsieh
 
Android基礎課程2 - google map android API
Android基礎課程2 - google map android APIAndroid基礎課程2 - google map android API
Android基礎課程2 - google map android APIDuran Hsieh
 
Android 基礎開發課程
Android 基礎開發課程Android 基礎開發課程
Android 基礎開發課程Duran Hsieh
 
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享Duran Hsieh
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練62016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6Duran Hsieh
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練52016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5Duran Hsieh
 

Más de Duran Hsieh (20)

聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?聽微軟專家說為何.NET開發非學不可?
聽微軟專家說為何.NET開發非學不可?
 
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
DevSecOps 實踐與 GitHub 進階安全: 建立安全的開發流程
 
Visual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdfVisual Studio Dev Tunnel.pdf
Visual Studio Dev Tunnel.pdf
 
GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase GDG Taichung: What is new in Firebase
GDG Taichung: What is new in Firebase
 
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdf
 
GitHub Action Introduction
GitHub Action IntroductionGitHub Action Introduction
GitHub Action Introduction
 
GDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML APIGDG Taichung: Cloud Study Jam ML API
GDG Taichung: Cloud Study Jam ML API
 
GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01GDG Taichung - Firebase Introduction 01
GDG Taichung - Firebase Introduction 01
 
Study4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshowStudy4TW .NET Conf Local Event Taichung 2018 slideshow
Study4TW .NET Conf Local Event Taichung 2018 slideshow
 
Microsoft recommendation solution on azure
Microsoft recommendation solution on azureMicrosoft recommendation solution on azure
Microsoft recommendation solution on azure
 
Microsoft professional program introduction
Microsoft professional program introductionMicrosoft professional program introduction
Microsoft professional program introduction
 
聰明的投資者
聰明的投資者聰明的投資者
聰明的投資者
 
聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices
 
Android 基礎課程補充資料
Android 基礎課程補充資料Android 基礎課程補充資料
Android 基礎課程補充資料
 
Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入Android基礎課程3 - APP上架、廣告與 Facebook 登入
Android基礎課程3 - APP上架、廣告與 Facebook 登入
 
Android基礎課程2 - google map android API
Android基礎課程2 - google map android APIAndroid基礎課程2 - google map android API
Android基礎課程2 - google map android API
 
Android 基礎開發課程
Android 基礎開發課程Android 基礎開發課程
Android 基礎開發課程
 
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
[Study4TW Visual Studio Everywhere] asp.net core 實務開發經驗分享
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練62016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
 
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練52016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練5
 

Último

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Cloud Study Jam - ML API 4

  • 1. CLOUD STUDY JAM ML API GDG Taichung Duran Hsieh
  • 2. AGENDA • Requirements • Awwvision: Cloud Vision API from a Kubernetes Cluster • Classify Images of Clouds in the Cloud with AutoML Vision • Implementing an AI Chatbot with Dialogflow • Q&A
  • 4. 4Presented By: Duran Hsieh REQUIREMENTS • 取得API KET,寫入環境變數 • export API_KEY=<YOUR_API_KEY> • 專案名稱寫入 環境變數 • export PROJECT=<your_project_name> • 將建立Storage bucket,將圖片放入 storage • 建立 request.json • 呼叫 API 取得結果
  • 5. AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER
  • 6. 6Presented By: Duran Hsieh AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER • Create a Kubernetes Engine cluster • 在us-central1-a建立群集: gcloud config set compute/zone us-central1-a • 啟動指令: gcloud container clusters create awwvision --num-nodes 2 --scopes cloud-platform
  • 7. 7Presented By: Duran Hsieh AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER • 等待並檢視建立進度 • 透過憑證啟動容器群集: gcloud container clusters get-credentials awwvision • 透過 kubectl command-line 工具確認運作正常: kubectl cluster-info
  • 8. 8Presented By: Duran Hsieh AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER • 取得範例 git clone https://github.com/GoogleCloudPlatform/cloud- vision • 佈署範例: cd cloud-vision/python/awwvision (變更目錄) make all • 檢查 k8s 資源: kubectl get pods • 列出正在運作的佈署: kubectl get deployments -o wide
  • 9. 9Presented By: Duran Hsieh AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER • 取得範例 git clone https://github.com/GoogleCloudPlatform/cloud- vision • 佈署範例: cd cloud-vision/python/awwvision (變更目錄) make all • 檢查 k8s 資源: kubectl get pods • 列出正在運作的佈署: kubectl get deployments -o wide
  • 10. 10Presented By: Duran Hsieh AWWVISION: CLOUD VISION API FROM A KUBERNETES CLUSTER • 取得外部 IP kubectl get svc awwvision-webapp • 檢查進度: cd cloud-vision/python/awwvision (變更目錄) make all • 透過外部 IP 連接到網站,檢視網站
  • 11. CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION
  • 12. 12Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • Set up AutoML Vision • APIs & Services > Library > Cloud AutoML API
  • 13. 13Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • 設定環境變數 • export PROJECT_ID=$DEVSHELL_PROJECT_ID • export QWIKLABS_USERNAME=<QWIKLABS_USERNAME>
  • 14. 14Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • 給予權限
  • 15. 15Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • 建立 Storage Bucket gsutil mb -p $PROJECT_ID -c regional -l us-central1 gs://$PROJECT_ID-vcm/ • 設定環境變數 • export BUCKET=YOUR_BUCKET_NAME • 複製圖片到你的 Storage gsutil -m cp -r gs://automl-codelab-clouds/* gs://${BUCKET}
  • 16. 16Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • 建立 Storage Bucket gsutil mb -p $PROJECT_ID -c regional -l us-central1 gs://$PROJECT_ID-vcm/ • 設定環境變數 • export BUCKET=YOUR_BUCKET_NAME • 複製圖片到你的 Storage gsutil -m cp -r gs://automl-codelab-clouds/* gs://${BUCKET}
  • 17. 17Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION
  • 18. 18Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • 建立 dataset • 複製檔案到 Cloud Shell instance gsutil cp gs://automl-codelab-metadata/data.csv . • 字串處哩,取代 sed -i -e "s/placeholder/${BUCKET}/g" ./data.csv • 複製到 storage gsutil cp ./data.csv gs://${BUCKET}
  • 19. 19Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • AutoML UI 介面加入 dataset
  • 20. 20Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • AutoML UI 介面加入 dataset
  • 21. 21Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • AutoML UI 介面
  • 22. 22Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • AutoML UI 介面
  • 23. 23Presented By: Duran Hsieh CLASSIFY IMAGES OF CLOUDS IN THE CLOUD WITH AUTOML VISION • AutoML UI 介面
  • 24. IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW
  • 25. 25Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 前置作業
  • 26. 26Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 名詞解釋
  • 27. 27Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 名詞解釋
  • 28. 28Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 名詞解釋
  • 29. 29Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 名詞解釋
  • 30. 30Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 建立 Dialogflow: • Navigation menu > APIs & Services > Dashboard • Enable APIs and Services > 尋找並建立 Dialogflow
  • 31. 31Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Dialogflow.com 透過剛剛的Google 帳號註冊
  • 32. 32Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 建立 Agent: • Agent name: Helpdesk • Default Time zone: America/Denver • Google Project: Your project Id
  • 33. 33Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 建立 Intent: • Default Welcome Intent
  • 34. 34Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 建立 Training Phreases:
  • 35. 35Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 建立 response,並進行儲存:
  • 36. 36Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 測試:
  • 37. 37Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 加入客製內容 • 加入變數 give-name
  • 38. 38Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • 測試:
  • 39. 39Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Fulfillment:
  • 40. 40Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Fulfillment: • 完成後按下 deploy 按鈕
  • 41. 41Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • New Intent:
  • 42. 42Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Try: • Hi • I would like to submit a ticket • My name is John • My phone screen is broken
  • 43. 43Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Storage - SQL
  • 44. 44Presented By: Duran Hsieh IMPLEMENTING AN AI CHATBOT WITH DIALOGFLOW • Try:
  • 46. 46Presented By: Duran Hsieh CLOUD ML ENGINE: QWIK START • Install TensorFlow
  • 47. 47Presented By: Duran Hsieh CLOUD ML ENGINE: QWIK START • 取得API KET,寫入環境變數
  • 48. 48Presented By: Duran Hsieh CLOUD ML ENGINE: QWIK START • 取得API KET,寫入環境變數

Notas del editor

  1. 什麼是 Linq ?
  2. 什麼是 Linq ?
  3. 什麼是 Linq ?
  4. 什麼是 Linq ?