Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tensorflow.jsの話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yohfee
June 08, 2021
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Tensorflow.jsの話
Sendai Frontend Meetup #6
https://sfeug.connpass.com/event/212239/
yohfee
June 08, 2021
More Decks by yohfee
See All by yohfee
オブザーバビリティ駆動開発って実際どうなの?
yohfee
6
1.3k
個人開発で使ってるやつを紹介する回
yohfee
1
980
バーチャル背景の話
yohfee
0
190
認証の話
yohfee
0
290
Other Decks in Programming
See All in Programming
GitHubCopilotCLIのスラッシュコマンドを自作してみる
htkym
0
100
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
150
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
140
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
170
自作OSでスライド発表する
uyuki234
1
3.9k
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
230
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
130
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
830
初めてのKubernetes 本番運用でハマった話
oku053
0
130
act2-costs.pdf
sumedhbala
0
120
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
340
Speed Design
sergeychernyshev
33
1.9k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
640
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
220
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
640
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
The Invisible Side of Design
smashingmag
301
52k
Un-Boring Meetings
codingconduct
0
350
Transcript
Tensorflow.jsの話 Sendai Frontend Meetup #6
大魔王始めさせられました
ディープラーニングできたら楽しそう
ディープラーニングやってみ たいけど今更Pythonをイチ から始めるのは辛いです。 会社員(30代・男性)
Tensorflow.jsでやってみた
Demo1 https://github.com/yohfee/sfeug6/tree/main/demo1
モデルをtfhubからロード tfjsを読み込み imgからtensorに変換 モデルに合わせて成型 予測 上位3件を取得
Demo2 https://github.com/yohfee/sfeug6/tree/main/demo2
で、どうなの? • ブラウザでもNode.jsでもほぼ同様のコードで動くので偉い • ブラウザだとimgやcanvasで画像tensorの出し入れが楽ちん • ブラウザだとモデルのサイズが大きいと流石に遅い • TypeScriptでも書けるので安心 •
GPUを使って高速化できる • tfhubなどに出来合いモデルが転がってるので割と遊べる • 他の形式のモデルも変換して使える場合がある • 頑張れば自前モデルも作れる
頑張れば自前モデルも作れる
ディープラーニングやってみ たいけど今更Pythonをイチ から始めるのは辛いです。 会社員(30代・男性)
ディープラーニングやってみ たけどディープラーニングの こと何もわからんので辛い。 会社員(30代・男性)
ディープラーニングやってみ たけどディープラーニングの こと何もわからんので辛い。 会社員(30代・男性) レイヤは何層で組めばいいの!? CPU遅すぎるんだが!? CNN!?RNN?GAN!?DQN!? 全然収束しないんだけど!? 与 え
るパ ラメー タの 勘 所 わ か らん !? 学習データ集めるのダル過ぎ!? どの活性化関数が適してるんですか!? PCが無限に唸りを上げ続けている!?
俺たちの戦いは(ry
ご清聴ありがとうございました