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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yohfee
June 08, 2021
Programming
0
320
Tensorflow.jsの話
Sendai Frontend Meetup #6
https://sfeug.connpass.com/event/212239/
yohfee
June 08, 2021
Tweet
Share
More Decks by yohfee
See All by yohfee
個人開発で使ってるやつを紹介する回
yohfee
1
920
バーチャル背景の話
yohfee
0
150
認証の話
yohfee
0
250
Other Decks in Programming
See All in Programming
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
CSC307 Lecture 05
javiergs
PRO
0
500
「ブロックテーマでは再現できない」は本当か?
inc2734
0
960
CSC307 Lecture 03
javiergs
PRO
1
490
Implementation Patterns
denyspoltorak
0
280
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
高速開発のためのコード整理術
sutetotanuki
1
400
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
220
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
A Soul's Torment
seathinner
5
2.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
64
Navigating Weather and Climate Data
rabernat
0
100
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
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
ご清聴ありがとうございました