Skip to main content

What Features New in TensorFlow 2.0?


Machine Learning is one of the most in-demand technologies and one of the fastest growing frameworks for machine learning is TensorFlow. TensorFlow is Google’s open source machine learning platform that is most widely adopted by machine learning developers worldwide.

Today, at the TensorFlow Developer Summit, the TensorFlow team announced the updates and roadmap of the product that includes availability of Tensor 2.0 alpha, TensorFlow.js 1.0, TensorFlow Lite and TensorFlow Extended. The TensorFlow 2.0 release is now available as a developer preview.


TensorFlow 2.0 Alpha is available now.
 
According to the presentation, the TensorFlow has been downloaded more than 41 million times, 50,000 commits, 9,900 pull requests, and has 1,800 contributors.
 
TensorFlow 2.0 is easy, more powerful, and scalable. There are easier APIs with better code examples and documentation.
 
TensorFlow can be deployed anywhere including servers, desktops, in cloud, mobile, edge devices, and in browsers with the help of three versions of TensorFlow, TensorFlow Extended, TensorFlow Lite, and TensorFlow.js.
 
TensorFlow Extended is an integrated end to end platform for managing every stage of the machine learning life cycle.
TensorFlow Lite 1.0 is the solution for running models on mobile and IoT devices.
 
TensorFlow.js is a JavaScript library for training and deploying machine learning models in Web browsers, Node, and other platforms. TensorFlow.js already has been downloaded 300,000 times.
 
Watch the following video to learn more about TensorFlow 2.0 and its upcoming new products and features.



According to the official announcements, the TensorFlow 2.0 Roadmap includes the following :
 
APIs 
  • Mixed precision training API in Keras.
  • Premade estimators for boosted trees, random forest, approximate nearest-neighbor search, k-means clustering, and more.
  • tf.distribute.Strategy support for Keras subclass models, TPUs, and multi-node training
  • Improved support for model saving and loading SavedModel, and conversion of existing 1.x TF-Hub modules 
Reference models 
  • Updated model repository with TF 2.0 best-practice reference models and research model implementations. These will include ResNet, MobileNet, DenseNet, Mask-RCNN, NMT, NCF, Transformer, and many other models
  • Collection of TF Hub modules, loadable in TensorFlow 2.0.
  • More performance optimizations.
 
TensorBoard 
  • General bug fixes and enhancements to make TensorBoard great with TensorFlow 2.0.
  • Improvements to hyperparameter tuning capabilities and workflow.
  • Enable hosted TensorBoard to make sharing dashboards easy and search/compare experiments.
  • Create a better plugin process for testing and adding TensorBoard plugins.
  • Enable plugins to use different frontend technologies (like React).
 
TensorFlow Lite 
  • Increase coverage of supported ops in TensorFlow Lite.
  • Easier conversion of TensorFlow 2.0 models to use in TensorFlow Lite.
  • Extended support for Edge TPUs, TPU AIY boards.
  • More documentation and tutorials. 
TensorFlow.js 
  • Continued browser performance improvements.
  • Implement prototype using compute shaders or WebGPU.
  • Improve CPU performance, implement SIMD+ Web Assembly support (when available).
  • More off-the-shelf models for image, audio, text models, and more.
  • Improve parity in features and performance on Node with core TensorFlow.
  • Support for TensorBoard visualization in Node training with TensorFlow.js.
  • Integration with more JavaScript platforms.
  • More documentation and getting started content.
 
TensorFlow with Swift
  • Focus on researchers for the first half of 2019.
  • Significant new feature development, such as support for transfer learning.
  • Polish existing features, such as control flow support by the AutoDiff system.
  • Deeper integrations with the TensorFlow ecosystem, such as TensorBoard.
  • End-to-end tutorials for getting started on Swift for TensorFlow in Colab and additional technical documentation.
  • Collaboration with fast.ai
 
TensorFlow Extended (TFX) 
  • Integration of all TFX components with TensorFlow 2.0.
  • Fully orchestrated end-to-end workflows with common configuration and metadata tracking.
  • Advanced training features, such as warm-starting.
  • Notebook embedded visualizations and experiment tracking 

Comments

Popular posts from this blog

Integrating Tensor flow API into ASP.net Web applications for Image detection

Introduction Tensor flow provides advanced Machine Learning API. For the example here we will provide a solution for the Image recognition. The same can be applied to other use cases such as Text recognition or any other data set that needs to solve the problems of AI and Machine Learning such as: Predictive Analytics Cognitive Processes and its Automation e.g. NLP Virtual Agents (Bot’s) Camera Image detection and processing e.g. Industrial Robotics and Drones Text Knowledge Analytics Application Development Steps In the first step we create an ASP.NET application for connecting the camera feed or input data. In the next step Install Tensor flow as per instructions on the website –>  Click here To begin using Tensor flow we need to decide on the model to use for processing input data – There is an option to use either ready-made models or develop on own depending on the problem at hand. For simplicity we will use ready-made model called a deep  convolut...

Machine Learning with ML.NET 1.0

As a person coming from .NET world, it was quite hard to get into  machine learning  right away. One of the main reasons was the fact that I couldn’t start Visual Studio and  try out  these new things in the technologies I am proficient with. I had to solve another obstacle and learn other  programming languages  more fitting for the job like Python and R. You can imagine my happiness when more than a year ago,  Microsoft  announced that as a part of  .NET Core 3 , a new feature will be available –  ML.NET . In fact it made me so happy that this is the third time I write similar  guide . Basically, I wrote one when ML.NET was a  version 0.2  and one when it was  version 0.10 . Both times, guys from Microsoft decided to modify the  API  and make my articles obsolete. That is why I have to do it once again. But hey, third time is the charm, so hopefully I will not have to do this again until ML.N...

Using Tensorflow Object Detection API to build a Toy detector

Here I extend the API to train on a new object that is not part of the COCO dataset. In this case I chose a toy that was lying around. See gif below. So far, I have been impressed by the performance of the API. The steps highlighted here can be extended to any single or multiple object detector that you want to build. Tensorflow Toy Detector~ You can find the code on my  Github  repo Collecting data The first step is collecting images for your project. You could download them from google ensuring you have a wide variation in angles, brightness, scale etc. In my case I created a video of the little aeroplane toy and used  Opencv  to extract images from the video. This saved me a lot of time. I ensured that images were taken from multiple angles. You can also randomly change brightness for some of the images so that the detector can work under different conditions of lightning. Overall 100–150 pics will suffice. See some sample images below: ...