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
YGLF_2019.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Asim Hussain
April 05, 2019
Technology
1
160
YGLF_2019.pdf
Asim Hussain
April 05, 2019
Tweet
Share
More Decks by Asim Hussain
See All by Asim Hussain
JavaScript Saves The World - DotJS 2019
jawache
0
910
Saving the world, one line at a time [CodeLeaders Australia 2019]
jawache
0
87
AI + JavaScript Rocks @ GDGDevFest UA 2018
jawache
0
62
How to hack a web app? WebConfAsia 2018
jawache
0
98
How to scale an SPA? @ AmsterdamJS 2018
jawache
0
37
How to hack an Angular app? - ngConf 2018
jawache
0
1k
Getting started with node.js @ AngleBrackets 2018
jawache
1
190
How to hack an Angular app? @ ngVikings 2018
jawache
1
1.1k
How to hack a python app? @ PyCaribbean 2018
jawache
0
180
Other Decks in Technology
See All in Technology
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.4k
ThetaOS - A Mythical Machine comes Alive
aslander
0
210
Phase04_ターミナル基礎
overflowinc
0
2.6k
OpenClawでPM業務を自動化
knishioka
1
280
【Oracle Cloud ウェビナー】データ主権はクラウドで守れるのか?NTTデータ様のOracle Alloyで実現するソブリン対応クラウドの最適解
oracle4engineer
PRO
3
110
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
460
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
150
CREがSLOを握ると 何が変わるのか
nekomaho
0
140
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
150
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
27
13k
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
200
Phase01_AI座学_基礎
overflowinc
0
4.4k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Between Models and Reality
mayunak
2
240
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Un-Boring Meetings
codingconduct
0
240
A Tale of Four Properties
chriscoyier
163
24k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Building an army of robots
kneath
306
46k
Designing Powerful Visuals for Engaging Learning
tmiket
0
300
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
170
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