$30 off During Our Annual Pro Sale. View Details »

JavaScript & AI, V2

Yas
September 10, 2019

JavaScript & AI, V2

Yas

September 10, 2019
Tweet

More Decks by Yas

Other Decks in Programming

Transcript

  1. AI & JavaScript
    No you’re not dreaming

    View Slide

  2. AI & JavaScript
    No you’re not dreaming

    View Slide

  3. @yashints
    Or is it?

    View Slide

  4. Lead consultant @TelstraPurple
    Yaser Adel Mehraban
    @yashints
    yashints.dev

    View Slide

  5. Why do it in browser?
    Wide distribution
    Interactive
    Sensors
    Data stays on the client

    View Slide

  6. @yashints
    https://playground.tensorflow.org

    View Slide

  7. @yashints
    Tensorflow.js

    View Slide

  8. @yashints
    Allows inference and
    training entirely in the
    browser or Node.js
    Released March 2018 GPU-accelerated via
    WebGL
    TensorFlow.js

    View Slide

  9. @yashints
    Build your own
    Run existing
    models
    Retrain
    with transfer learning

    View Slide

  10. @yashints
    TF TPU
    TF GPU
    Core API
    WebGL
    Layers API
    Model
    Browser Node.js
    TF CPU
    Keras Model
    Tensorflow
    Saved models

    View Slide

  11. @yashints
    Pre-trained models
    https://github.com/tensorflow/tfjs-models
    • MobileNet Object detection
    • PoseNet Human pose detection
    • CocoSSD Object localisation
    • BodyPix Human segmentation
    • USE Text classification

    View Slide

  12. @yashints
    Browser examples

    View Slide

  13. @yashints
    BodyPix
    demo

    View Slide

  14. @yashints

    View Slide

  15. @yashints
    Creatability
    yas.fyi/2Zl4N2p

    View Slide

  16. @yashints
    Airbnb

    View Slide

  17. @yashints
    Speech command

    View Slide

  18. @yashints

    View Slide

  19. @yashints
    aijs.rocks
    Asim Hussain � @jawache

    View Slide

  20. @yashints
    Node.js & Desktop

    View Slide

  21. @yashints
    yas.fyi/2LUfBkX
    Magenta Studio

    View Slide

  22. @yashints
    Retraining in Node.js

    View Slide

  23. @yashints
    Retraining in Node.js

    View Slide

  24. @yashints
    Demo

    View Slide

  25. @yashints

    View Slide

  26. @yashints
    “With Tensorflow.js and web,
    possibilities are endless, web
    development doesn’t have to be
    boring”

    View Slide

  27. @yashints
    References
    https://www.tensorflow.org/js
    https://github.com/tensorflow/tfjs-examples
    https://www.freecodecamp.org/news/tensorflowjs-full-course/
    https://codelabs.developers.google.com/
    https://yashints.dev/blog/2018/11/27/get-started-with-tensorflowjs
    Slides https://yas.fyi/2MxNh7z

    View Slide

  28. Reach out
    Thanks!
    @yashints
    yashints.dev

    View Slide