-
Image Classification as A Service in Node.js
In the previous article, we discussed how WebAssembly could tie together native TensorFlow, Node.js JavaScript, and Rust functions to create high performance and safe web services for AI. In this article, we will discuss how to apply this approach to ImageNet's MobileNet image classification model, and more importantly, how to create web applications for your own retrained MobileNet models. NOTE This article demonstrates how to call operating system native programs from the SSVM.…
RustJavaScripttensorflowWebAssemblyNode.jsAI as a serviceFaaSAIImage Classification
-
High performance and safe AI as a Service in Node.js
Today’s dominant programming language for AI is Python. Yet, the programming language for the web is JavaScript. To provide AI capabilities as a service on the web, we need to wrap AI algorithms in JavaScript, particularly Node.js. However, neither Python nor JavaScript by itself is suitable for computationally intensive AI applications. They are high-level, ie, slow, languages with heavy-weight runtimes. Their ease-of-use comes at the cost of low performance. Python got around this by wrapping AI computation in native C/C++ modules.…
RustJavaScripttensorflowWebAssemblyNode.jsAI as a serviceFaaSAIFace detection
-
🤖 Image recognition in Node.js
Deep learning is one of the most important advances in computer science in the last decade. Using trained deep neural networks, artificial intelligence (AI) inference algorithms can perform a variety of very useful tasks, such as image, speech, and facial recognition, natural language processing, image and video search, at unprecedented accuracy. While inference can be done on the edge device, such as mobile phones or IoT sensors, it is suggested that cloud-based inference is much faster and energy efficient in our always-connected world.…
RustWebAssemblyNode.jsTensorflowhow-touse-caseai-as-a-serviceimage-recognitionrust-function-in-nodejs
-
WebAssembly vs native code
WebAssembly aims to drastically improve your application performance, safety, and developer productivity. It replaces native code with a managed container and finely grained security model. Why do we program in native code in 2020? In the past several years, CPU speed has pretty much stopped improving. At the same time, AI, big data, and blockchain have all create huge demands for more computing power. So far, the solution has been more and more native code in our software.…
WebAssemblyquestion-answerserverlessfunction-as-a-serviceai-as-a-service
-
开发者活动:用 Rust 写 Serverless 函数
了解如何在 Rust 中创建用于媒体处理、机器学习和 AI 的高性能 serverless 函数。完成这个挑战,即可获得丰厚奖品!终极大奖 最新款的 Mac mini 等你来拿。 #1 用 Rust 写一个 serverless function 首…
WebAssemblyRustFaaSServerlessserverlessfunction-as-a-serviceai-as-a-service
-
🚀 WebAssembly is the perfect runtime for server-side (or serverless) applications
In a recent paper on Science, MIT professor Leiserson et al. noted that, as Moore's Law stalled, “practically all industries will face challenges to their productivity”. But, while semiconductor miniaturization hits the quantum limit, the good news is that “there’s plenty of room at the top”. The drivers for growth will be from more efficient software, new algorithms, and specialized hardware. The paper demonstrated that machine learning tasks can run 60,000x times faster when we replace Python with native code and specialized hardware.…
WebAssemblyquestion-answerserverlessfunction-as-a-serviceai-as-a-service