The First Cry of Atom Today is the first day of the rest of my life.

Try deeplearn.js

New deeplearning framework was released from Google PAIR project.



deeplearn.js is written in JavaScript(TypeScript) to work on web browser. JavaScript is not a programming language for machine learning or numerical calculation which requires huge CPU power. But deeplearn.js can work on hardware accelerator like GPU through WebGL API. So it’s not so slow as you expected. [WebDNN( or Keras.js.

Why not using TensorFlow or other framework?

Yes, TensorFlow is the fast and scalable framework many researcher and engineers are using. But it is often difficult to create a application using TensorFlow model on web application because there is no TensorFlow runtime on there. We can say similar thing in other framework.

So one of the good thing about deeplearn.js is that it can import TensorFlow model and run it on web browser.

Currently it does not support TensorFlow ops fully. But there seems to be a roadmap to implement and extend them.

If you want to try this, here is the best place. Especially model builder is good tutorial to know the potential of deeplearn.js.