Training models faster with TensorFlow Hub (TensorFlow Meets)
Key Takeaways
The video discusses TensorFlow Hub, a new way to share reusable components called modules, which can be used for image and text classification, and can be composed, reused, and retrained. The modules are accessible via a URL and can be used in one line of code.
Full Transcript
[Music] hi everybody we're here at the tents flow developer summit at the tensorflow cafe and I'm chatting with Andrew Gasper ovitch from tensor flow hub and you announced tensorflow hub today can you tell us all about it yeah so tensorflow hub is the new way to share what we're calling modules which is meant to be a reusable component so it's a little bit less than a model it's just the reusable portion okay but it is the graph the weights and potentially any assets that come with it so it's all packaged up into a component that makes it easy to share in just one line of code and one line of code yeah yeah that was a requirement from the beginning actually no more than one line of code where do you go from here off a lot of code yeah yeah well I guess the natural zero that's next year now one of the things you mentioned in your talk was about these modules being composable reusable and retrain of all could yes that's true that composable for us yeah so composable just means that you can do things like add your own classification so if you're talking about an image mod module it doesn't include the classification from the model so that is something that you can compose with what you're building in the case of text classification that may be something like an embedding module okay and then in other cases we also want to have just general-purpose modules that you can compose around almost like functions that you can call together and make building blocks for an entire model I say so so if I have a model that I don't know for example of doing OCR in an image and but it can also tag things within that image what saying is I could break out the OCR part and I could break out the tagging part and compose them into something new yeah absolutely absolutely and that's gonna be something really interesting to see what develops in the community over time just the ways of putting things together and sort of modules that people end up ryeol yeah so it's we're providing building all the communities providing building blocks yes we have we have a number of modules to start with and they're very general-purpose things doing you know image classification doing text classification we have those embedding modules but I think that over time what the community can contribute is what really will be interesting sounds great so we've mentioned that there composable and then reusable reusable just means that you can basically take something that already exists and apply it to your own particular problem makes perfect sense yeah and then I'm really interested in retraining below I mean we speak a lot about the attentive love for poets where you can retrain the final layer to make it flowers instead of general damages and is it to do a similar thing Gaudi yes yeah definitely so there is you know the classic sort of transfer learning case there where you would take an image classification module just up to the feature vectors and then retrain your own classification on top to do things but you know you can also go deeper than that you can start retraining text embedding modules and the thing about TF hub is that you can actually do fine-tuning and Retraining inside the module itself so if you have enough data you can actually turn on retraining inside the module because it's just a graph with the weights so you know you can really get better results because it's not just something that's static it's something that you can really include in your own model sounds good now in your talk you showed this for like classifying rabbits yes yeah yeah and you had that one picture of a rabbit which I think is the best picture of any in the entire day so we have to cut to that and show it's a beautiful yeah so tell us what did you do in that demo in the demo we basically just it's the same ideas the tensorflow for poets we start with a general purpose image classification model just up to the feature vectors and in the particular demo example we were classifying rabbits maybe including the Easter Bunny and you know we added our own classification on top and we fed in all of our own training examples and the end result is that you get something that is special to your task but includes all of the benefits of the general-purpose model nice it's kind of fun yeah how was accurate was at detecting rabbits it's very accurate we'll have to see how it works with the Easter Bunny but you didn't put the Easter Bunny in your test next year so so if I'm a developer and I want to build like I'm maybe I'm an expert in rabbit detection and you know and I want to build like a custom model and I want to contribute this into tensorflow hub how would I go about doing that well that's something that we're really excited to work on over the next few months right now a module is accessible via any URL and so you can host a module and you can use it in that one line of code but we want to create a platform where people can go and find modules for all sorts of different topics and have that one central place that you always know that you can get really high quality stuff in a variety of different areas and is there like some kind of curation that's something it remains to be you know seeing specifically what we're gonna do but we want to be able to open it up to it as wide a group of people as possible sounds good so where can I find this again it's tensorflow org slash hub tensorflow org slash hub I keep saying tensorflow hub / org we should remain tensorflow org slash hub yeah you know go check it out so thank you so much Andrew thank you it's been really fun and I love that slide okay so thanks everybody for watching this episode if you got any questions for me or if you have any questions for Andrew please leave them in the comments below and all of the links that we spoke about today will put in the text description so thank you so much and don't forget to hit that subscribe button [Music] you
Original Description
Laurence sits down to chat with Andrew Gasparovic, Software Engineer on TensorFlow Hub. They discuss the image classification and text classification modules that are currently available, and talk about how modules are composable, reusable, and retrainable. But what exactly does that mean? Watch to find out in this episode of TensorFlow Meets.
Learn more about TensorFlow Hub → http://bit.ly/2uo1Csw
TensorFlow Hub blog article → http://bit.ly/2JyMCO3
TensorFlow Hub talk at TensorFlow Dev Summit ‘18 → http://bit.ly/2uBFRXp
TensorFlow Meets playlist → http://bit.ly/2lbyLDK
Subscribe to the TensorFlow channel → http://bit.ly/TensorFlow1
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from TensorFlow · TensorFlow · 57 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
▶
58
59
60
The TensorFlow YouTube Channel is Here!
TensorFlow
Answering Your TF Questions #AskTensorFlow
TensorFlow
Chatting With the TensorFlow Community (TensorFlow Meets)
TensorFlow
All About TensorFlow Code (Coding TensorFlow)
TensorFlow
TensorFlow: an ML platform for solving impactful and challenging problems
TensorFlow
Keynote (TensorFlow Dev Summit 2018)
TensorFlow
tf.data: Fast, flexible, and easy-to-use input pipelines (TensorFlow Dev Summit 2018)
TensorFlow
Eager Execution (TensorFlow Dev Summit 2018)
TensorFlow
Machine Learning in JavaScript (TensorFlow Dev Summit 2018)
TensorFlow
Training Performance: A user’s guide to converge faster (TensorFlow Dev Summit 2018)
TensorFlow
The Practitioner's Guide with TF High Level APIs (TensorFlow Dev Summit 2018)
TensorFlow
Distributed TensorFlow (TensorFlow Dev Summit 2018)
TensorFlow
Debugging TensorFlow with TensorBoard plugins (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Lite (TensorFlow Dev Summit 2018)
TensorFlow
Searching Over Ideas (TensorFlow Dev Summit 2018)
TensorFlow
Reconstructing Fusion Plasmas (TensorFlow Dev Summit 2018)
TensorFlow
Nucleus: TensorFlow toolkit for Genomics (TensorFlow Dev Summit 2018)
TensorFlow
Open Source Collaboration (TensorFlow Dev Summit 2018)
TensorFlow
Swift for TensorFlow - TFiwS (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Hub (TensorFlow Dev Summit 2018)
TensorFlow
Applied AI at The Coca-Cola Company (TensorFlow Dev Summit 2018)
TensorFlow
Real-World Robot Learning (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Extended (TFX) (TensorFlow Dev Summit 2018)
TensorFlow
Project Magenta (TensorFlow Dev Summit 2018)
TensorFlow
TensorFlow Dev Summit 2018 - Livestream
TensorFlow
Introducing TensorFlow Lite (Coding TensorFlow)
TensorFlow
TensorFlow Dev Summit 2018 Highlights
TensorFlow
Jeff Dean, Head of AI at Google discusses the impact of ML (TensorFlow Meets)
TensorFlow
TensorFlow Mobile vs. TF Lite and More! #AskTensorFlow
TensorFlow
Using TensorFlow to enable research & production across many fields (TensorFlow Meets)
TensorFlow
Teaching TensorFlow for Deep Learning at Stanford University (TensorFlow Meets)
TensorFlow
TensorFlow Lite for Android (Coding TensorFlow)
TensorFlow
Using the tf.data API to build input pipelines (TensorFlow Meets)
TensorFlow
Training Models in the Cloud & the Benefits of AI Toolkits #AskTensorFlow
TensorFlow
Execute operations immediately with TensorFlow's Eager Execution (TensorFlow Meets)
TensorFlow
TensorFlow Lite for iOS (Coding TensorFlow)
TensorFlow
Get started with TensorFlow's High-Level APIs (Google I/O '18)
TensorFlow
TensorFlow for JavaScript (Google I/O '18)
TensorFlow
TensorFlow in production: TF Extended, TF Hub, and TF Serving (Google I/O '18)
TensorFlow
Get started with TensorFlow's High-Level APIs in 5 mins | Google I/O 2018
TensorFlow
TensorFlow and deep reinforcement learning, without a PhD (Google I/O '18)
TensorFlow
TensorFlow Lite for mobile developers (Google I/O '18)
TensorFlow
Advances in machine learning and TensorFlow (Google I/O '18)
TensorFlow
Distributed TensorFlow training (Google I/O '18)
TensorFlow
Classification using neural networks & ML regression models #AskTensorFlow
TensorFlow
TensorFlow and Keras in R - Josh Gordon meets with J.J. Allaire (TensorFlow Meets)
TensorFlow
Focus on your experiment with TensorFlow Estimators (TensorFlow Meets)
TensorFlow
How to get started with AI/ML, retraining models, & more! #AskTensorFlow
TensorFlow
TensorFlow - the deep learning solution for mobile platforms (TensorFlow Meets)
TensorFlow
MiniGo: TensorFlow Meets Andrew Jackson (TensorFlow Meets)
TensorFlow
The growth of TensorFlow with added support for JS & Swift (TensorFlow Meets)
TensorFlow
At the intersection of TensorFlow & nuclear physics (TensorFlow Meets)
TensorFlow
NVidia TensorRT: high-performance deep learning inference accelerator (TensorFlow Meets)
TensorFlow
Try TensorFlow.js in your browser (Coding TensorFlow)
TensorFlow
TensorFlow Hub: reusing machine learning modules (TensorFlow Meets)
TensorFlow
How to use TensorFlow in PyCharm (TensorFlow Tip of the Week)
TensorFlow
Training models faster with TensorFlow Hub (TensorFlow Meets)
TensorFlow
Prepare your dataset for machine learning (Coding TensorFlow)
TensorFlow
Using ML to predict insulin use for Type 1 Diabetes (TensorFlow Meets)
TensorFlow
TFX: an end-to-end machine learning platform for TensorFlow (TensorFlow Meets)
TensorFlow
More on: CV Basics
View skill →Related Reads
📰
📰
📰
📰
The Role of 3D Cuboid Annotation in Autonomous Vehicle Perception
Dev.to AI
Vision AI: Transforming Business Operations with Computer Vision AI
Medium · AI
Vision AI: Transforming Business Operations with Computer Vision AI
Medium · Machine Learning
Cloud-Optimized OpenCV + A Special Surprise Announcement on OpenCV Live
OpenCV Blog
🎓
Tutor Explanation
DeepCamp AI