Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
YGLF_2019.pdf
Search
Asim Hussain
April 05, 2019
Technology
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
YGLF_2019.pdf
Asim Hussain
April 05, 2019
More Decks by Asim Hussain
See All by Asim Hussain
JavaScript Saves The World - DotJS 2019
jawache
0
930
Saving the world, one line at a time [CodeLeaders Australia 2019]
jawache
0
100
AI + JavaScript Rocks @ GDGDevFest UA 2018
jawache
0
68
How to hack a web app? WebConfAsia 2018
jawache
0
110
How to scale an SPA? @ AmsterdamJS 2018
jawache
0
50
How to hack an Angular app? - ngConf 2018
jawache
0
1k
Getting started with node.js @ AngleBrackets 2018
jawache
1
200
How to hack an Angular app? @ ngVikings 2018
jawache
1
1.1k
How to hack a python app? @ PyCaribbean 2018
jawache
0
190
Other Decks in Technology
See All in Technology
cdkd (CDK Direct)
gotok365
4
260
Lint の層を組み直した話
bengo4com
3
320
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
490
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
110
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
140
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
830
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
公共分野での生成AI活用
toru_kubota
1
270
続・ソフトウェアアーキテクトのための意思決定術: Decision Readiness, Revisited — When AI Changes the Economics of Software Architecture
snoozer05
PRO
9
2.7k
SLOを阻む不安
sraku2159
0
230
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
810
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.4k
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
The Language of Interfaces
destraynor
162
27k
Tell your own story through comics
letsgokoyo
1
1.1k
Balancing Empowerment & Direction
lara
6
1.4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
Exploring anti-patterns in Rails
aemeredith
4
560
A designer walks into a library…
pauljervisheath
211
25k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
550
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
360
Transcript
The Future of Machine Learning & JavaScript @jawache YGLF 2019
Asim Hussain @jawache codecraft.tv microsoft.com
https://aka.ms/jawache-cda @jawache
@jawache https://www.palinternship.com/
@jawache
Asim Web Development Machine Learning This is @EleanorHaproff's slide
None
@jawache
TheMojifier™ @jawache
None
@jawache themojifier.com
None
How to Calculate Emotion? @jawache
(1) Detect Facial Features @jawache
https://towardsdatascience.com/facial-keypoints-detection-deep-learning-737547f73515
(2) Use a Neural Network @jawache
Neural Networks Axon Dendrites Axons Body @jawache
1 23 8.6 -0.5 2.1 Activation Function @jawache Neural Networks
1 23 8.6 -0.5 2.1 x x activation(...) = -11.5
= 18.06 7.01 !-> !-> } @jawache Neural Networks
Output 0 0 1 Input @jawache Neural Networks
1.1 4.2 0.3 4 12 93 3 @jawache Neural Networks
1.1 4.2 0.3 4 12 93 @jawache 8 - 8
= -5 3 Neural Networks
1.1 4.2 0.3 4 12 93 @jawache - 8 =
-5 3 8 Neural Networks
0.1 9.2 0.2 4 12 93 @jawache 8 8 Neural
Networks
@jawache https://azure.microsoft.com/services/cognitive-services/face/
https:!//<region>.api.cognitive.microsoft.com/face/v1.0/detect { "url": "<path-to-image>" } @jawache
@jawache
Summary @jawache
• Neural Networks are incredibly powerful • Conceptually, they are
simple to understand @jawache Summary
TensorFlow, MobileNet & I'm fine @jawache
@jawache
@jawache
@jawache
TensorFlow.js @jawache
TensorFlow.js Train models Load pre-trained models @jawache
https://github.com/tensorflow/tfjs-models @jawache MobileNet
https://azure.microsoft.com/services/cognitive-services/computer-vision/ @jawache
https://codepen.io/sdras/full/jawPGa/ @jawache
@jawache https://twitter.com/ollee/status/930303340516216832
@jawache https://twitter.com/FrontendNE/status/930120267992616960
@jawache https://twitter.com/chrispiecom/status/930407801402347520
Summary @jawache
• TensorFlow.js doesn't have any dependancies • MobileNet is a
simple way to analyse images • Azure Computer Vision API ❤ @jawache Summary
Image2Image @jawache
DEMO @jawache https://zaidalyafeai.github.io/pix2pix/cats.html
@jawache Generator Discriminator ✅ ❌
@jawache Generator Discriminator ✅ ❌
@jawache Generator Discriminator ✅ ✅
@jawache
@jawache
@jawache
@jawache https://github.com/NVIDIA/vid2vid
@jawache https://github.com/NVIDIA/vid2vid
@jawache https://github.com/NVIDIA/vid2vid
@jawache https://github.com/hanzhanggit/StackGAN
Summary @jawache
• GANs learn to generate new images • They take
a lot of compute to train • But the generator model can be run in the browser @jawache Summary
@jawache aka.ms/mojifier
Asim Hussain @jawache codecraft.tv microsoft.com