tensorflow.js:02.lobeで出力したモデルでpredict
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
tensorflow.js:02.lobeで出力したモデルでpredict [2021/01/10] – [流れ その2] adash333 | tensorflow.js:02.lobeで出力したモデルでpredict [2021/08/20] – [lobeの使い方 202108] adash333 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== | + | ====== |
[[tensorflow.js: | [[tensorflow.js: | ||
行 22: | 行 22: | ||
===== 流れ その2 ===== | ===== 流れ その2 ===== | ||
+ | https:// | ||
+ | |||
+ | https:// | ||
https:// | https:// | ||
+ | |||
+ | https:// | ||
-Lobeで出力したTensorFlow.js用のモデルのファイル群をGitHub Pagesで公開(デフォルトでCORS設定されている) | -Lobeで出力したTensorFlow.js用のモデルのファイル群をGitHub Pagesで公開(デフォルトでCORS設定されている) | ||
- | - | ||
+ | |||
+ | https:// | ||
https:// | https:// | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | async function main(imgPath: | ||
+ | |||
+ | // run the prediction | ||
+ | const results = model.predict(decodedImage); | ||
+ | console.log(results); | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | const imgPath = " | ||
+ | main(imgPath); | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
===== TensorFlow.jsでpredict ===== | ===== TensorFlow.jsでpredict ===== | ||
+ | |||
+ | https:// | ||
+ | Microsoft Lobeが便利!写真の分類を簡単に可能。あなたのサイトにもAI導入 | ||
+ | 2021年2月26日 | ||
+ | 2021年2月28日 | ||
+ | |||
+ | |||
+ | |||
https:// | https:// | ||
行 196: | 行 246: | ||
https:// | https:// | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
tensorflow.js/02.lobeで出力したモデルでpredict.txt · 最終更新: 2021/08/20 by adash333