iT邦幫忙

第 11 屆 iThome 鐵人賽

DAY 5
0
Google Developers Machine Learning

Overview of Machine Learning Products系列 第 5

[Day 5] Google Vision AI - 子系列最終章

今天是Google Vision AI這子系列最後一章節,我們今天要來講Vision AI的Auto ML Vision。我玩的是GCP上面的UI介面,側邊欄打開找到Vision點進去就可以看到了:
https://ithelp.ithome.com.tw/upload/images/20190912/20103835XjWc7xFjIe.jpg

我選擇的是AutoML物件偵測,然後先建立一個資料集:
https://ithelp.ithome.com.tw/upload/images/20190912/201038350uOvID4zeq.jpg

然後我在Kaggle下載貓跟狗的dataset,準備匯入AutoML裡。進到Dateset以後選擇匯入、選擇圖片、然後選Google Cloud Storage Bucket,就可以繼續啦。
https://ithelp.ithome.com.tw/upload/images/20190912/20103835tB3PRdVBtK.jpg
然後要建立一陣子映像檔案...........................

然後,先建立兩個標籤: Dog, Cat,
https://ithelp.ithome.com.tw/upload/images/20190912/20103835cp0DCbE9lL.jpg
接著一張一張開始分類:
https://ithelp.ithome.com.tw/upload/images/20190912/20103835NRICQta2DF.jpg

但這邊我分類了一陣子以後,跑訓練依然會失敗,至今不確定是不是操作上的問題,先上圖讓我再來研究一番...
https://ithelp.ithome.com.tw/upload/images/20190912/20103835ZA0pJ8ivBa.jpg


玩了一陣子以後,找到了一個暫時的解法:

  1. 先把分類好的匯出CSV,
    https://ithelp.ithome.com.tw/upload/images/20190913/20103835yk7FR9JgbO.jpg

  2. 去Google Cloud Storage下載,
    https://ithelp.ithome.com.tw/upload/images/20190913/20103835tdVzazj6JO.jpg

  3. 然後去手動調整SET成8:1:1的training, test, validation set,奇怪的是分類的時候無法選擇,讓人很困擾。
    https://ithelp.ithome.com.tw/upload/images/20190913/20103835Vixwvj3rT4.jpg

  4. 開始訓練~~
    https://ithelp.ithome.com.tw/upload/images/20190913/20103835MI82Fy7yEK.jpg
    https://ithelp.ithome.com.tw/upload/images/20190913/20103835YM5Ix07P2m.jpg

萬事起頭難之終於開始訓練了,訓練好壞就不是這邊的重點,好壞之後再繼續摸索。
Vision AI就先到這邊結束,明天來玩Video AI囉~。


上一篇
[Day 4] Google Vision AI - 3
下一篇
[Day 6] Google Video Intelligence AI - 1
系列文
Overview of Machine Learning Products30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言