ラベル

AI Forecast 8306MUFG (213) Social (75) life (70) Financial (62) IT (57) Proposal (56) idea (50) Fund Management (48) Trading (43) economics (42) Covid-19 (40) AI (38) Hedge Fund (36) Risk (36) Culture (31) BOJ (29) Science (26) hobby (24) accounting (17) Apps (16) career (11) job (7) Travel (6) Hiking (5) emotion (5) music (3) Statarb (2) piano (2)

2020年9月29日火曜日

Teachable Machine やってみた Teachable Machine Works!

 Teachable Machine やってみた

Teachable Machine Works!

遅ればせながら、Teachable Machineをやってみた。画像、音声などのデータで、ネットを教育し、APIを生成、教育結果(モデル)のサーバーもやってくれる。野生動物の自動検知、流れ作業なかの分類作業など、活躍できる場面も多そうだ。A bit outdated but tried Teachable Machine for the 1st time. Based on image and sound data, can educate net, then API is generated and also education result(model) is served to share with others. Looks it can be used in many situation such as detection of wild animals, classification task at the factory line etc. 

手順は簡単。分類したい対象に名前を付けて、1-2秒カメラの前でぐるぐる回す。ここでは、クマとカメのぬいぐるみを使った。無背景も同時に行う。Procedure is easy. Simply name the object and rotate 1-2 second in front of camera. Here I used Bear and Turtle. Sample background at the same time. 


教育はローカルマシンで行われ、GPUが稼働しているのがわかる。Education is done on local machine, hence can observe that GPU is working. 


クマを見せると、Bearが1.0とでる。If Bear is shown, Bear becomes 1.0.
カメを見せるとTurtleが1.0と出る。If Turtle is shown, Turtle becomes 1.0.
教育されたネットがGoogleの採番に従い、Googleに保存され、結果は下のようにAPI経由で他人と共有できる。共有不要ならローカル保存も可能。教育用に撮影した映像はアップロードする必要はない。The educated net is saved under google server numbered by google, and can be shared by others through API. Can save locally if no need to share. No need to upload images used for education. 

下がテストで作成したAPIだ。このようにブログにも簡単に貼り付けできる。Below is the API created by this test. As you can see below, it can be pasted to blog easily. 

Teachable Machine Image Model