サルでもわかるWEBプログラミング

フリーソフトのみでホームページ作成

ユーザ用ツール

サイト用ツール


tensorflow.js:02.lobeで出力したモデルでpredict


差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
tensorflow.js:02.lobeで出力したモデルでpredict [2021/01/10] – [流れ その2] adash333tensorflow.js:02.lobeで出力したモデルでpredict [2021/08/20] (現在) – [lobeの使い方 202108] adash333
行 1: 行 1:
-====== 出し ======+====== 02.lobeでたモデルでpredict ======
 [[tensorflow.js:index.html|TensorFlow.jsトップページ]] [[tensorflow.js:index.html|TensorFlow.jsトップページ]]
 +
 +
 +
 +
 +
  
 ===== ソースコード ===== ===== ソースコード =====
 変更中 変更中
 https://github.com/adash333/lobe-tfjs-predict https://github.com/adash333/lobe-tfjs-predict
 +===== lobeの使い方 202108 =====
 +
 +
 +https://internet.watch.impress.co.jp/docs/column/shimizu/1316830.html
 +誰でもノーコードで画像判別の機械学習モデルを作成できる「Lobe」
 +清水 理史2021年4月12日
 +
 +https://github.com/lobe/web-bootstrap
 +→これを写経してみたい
 +
 +
 +
 +
 +
 +
  
 ===== 流れ その1 ===== ===== 流れ その1 =====
行 22: 行 42:
  
 ===== 流れ その2 ===== ===== 流れ その2 =====
 +https://codesandbox.io/s/lobe-tensorflowjs-predict-du8dd?file=/index.html
 +
 +https://github.com/adash333/lobe-parcel
  
 https://adash333.github.io/lobe-parcel/src/model/model.json https://adash333.github.io/lobe-parcel/src/model/model.json
 +
 +https://adash333.github.io/lobe-parcel/src/img/apple.jpg
  
  
行 37: 行 62:
  
 <code> <code>
 +
 +
 +async function main(imgPath: string) {
 +
 +  // run the prediction
 +  const results = model.predict(decodedImage);
 +  console.log(results);
 +  
 + 
 + document.getElementById('').contentText = results.toString();
 +
 +}
 +
 +
 const imgPath = "apple.jpg"; const imgPath = "apple.jpg";
-export main(imgPath);+main(imgPath);
  
  
  
 </code> </code>
 +
 +
 +
 +https://github.com/adash333/lobe-tfjs-predict
 +
 +
 +https://adash333.github.io/lobe-tfjs-predict/
 +
 +
 +
  
  
  
 ===== TensorFlow.jsでpredict ===== ===== TensorFlow.jsでpredict =====
 +
 +https://zaitakukinmu.com/2021/02/26/microsoft-lobe/
 +Microsoft Lobeが便利!写真の分類を簡単に可能。あなたのサイトにもAI導入
 +2021年2月26日
 +2021年2月28日
 +
 +
 +
  
 https://qiita.com/iwatake2222/items/0092b4b95ed2bc50c9ce https://qiita.com/iwatake2222/items/0092b4b95ed2bc50c9ce
行 209: 行 266:
  
 https://spck-code-editor.readthedocs.io/en/latest/editor-settings/ https://spck-code-editor.readthedocs.io/en/latest/editor-settings/
- 
- 
- 
- 
- 
- 
  
  


tensorflow.js/02.lobeで出力したモデルでpredict.1610239049.txt.gz · 最終更新: 2021/01/10 by adash333

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki