:::
4-2 上傳檔案
from google.colab import files
print('上傳一張要辨識的圖片')
uploaded = files.upload()
#例出檔案名、大小
for fn in uploaded.keys():
print('User uploaded file "{name}" with length {length} bytes'.format(
name=fn, length=len(uploaded[fn])))
#上傳的檔名
fn
4-1 讀取 google 雲端檔案、import模組