diff --git a/tensorflow/lite/g3doc/_book.yaml b/tensorflow/lite/g3doc/_book.yaml index 36bf4f4618c..0c79e79fddb 100644 --- a/tensorflow/lite/g3doc/_book.yaml +++ b/tensorflow/lite/g3doc/_book.yaml @@ -77,6 +77,32 @@ upper_tabs: - title: Optimizing for mobile path: /lite/tfmobile/optimizing + # - name: Models + # contents: + # - title: Overview + # path: /lite/models/ + # - heading: Beginner + # style: divider + # - title: Image labeling + # section: + # - title: Overview + # path: /lite/models/image/label/overview + # - title: Android + # path: /lite/models/image/label/android + # - title: iOS + # path: /lite/models/image/label/ios + # - heading: Advanced + # style: divider + # - heading: Image + # - title: Image classification + # path: /lite/models/image/classification/ + # - heading: Audio + # - title: Hot word detection + # path: /lite/models/audio/hot_word/ + # - heading: Text + # - title: Text classification + # path: /lite/models/text/classification/ + - name: API skip_translation: true contents: diff --git a/tensorflow/lite/g3doc/models/_index.yaml b/tensorflow/lite/g3doc/models/_index.yaml new file mode 100644 index 00000000000..f4d8bc40a93 --- /dev/null +++ b/tensorflow/lite/g3doc/models/_index.yaml @@ -0,0 +1,125 @@ +project_path: /lite/_project.yaml +book_path: /lite/_book.yaml +description: +landing_page: + body_class: tfo-hide-page-nav + custom_css_path: /site-assets/css/style.css + show_side_navs: true + rows: + + # Hero + - classname: > + devsite-landing-row-50 + devsite-landing-row-large-headings + devsite-landing-row-no-image-background + foreground: theme + items: + - heading: Models marketplace + description: > + The TensorFlow Lite models marketplace, your neighborhood model shoppe. + image_path: /resources/images/tflite-card-16x9.png + + # Features + - background: grey + items: + - heading: Optimized for mobile + description: > + Machine learning can make your apps more engaging, personalized, and + helpful, and provides solutions that are optimized to run on-device. + - heading: Built with Google expertise + description: > + Models offer the technologies that have long powered Google's own + experiences on mobile. + - heading: Approachable and comprehensive + description: > + Use out-of-the-box solutions (base APIs) or custom models, running + on-device or in the Cloud, depending on your specific needs. + + # Beginner models + - classname: devsite-landing-row-100 + heading: "Build machine learning into your apps" + items: + - heading: > + Image labeling + description: > + Identify objects, locations, activities, animal species, products, and + more + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + - heading: > + Text recognition (OCR) + description: > + Recognize and extract text from images + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + - heading: > + Face detection + description: > + Detect faces and facial landmarks + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + + - items: + - heading: > + Barcode scanning + description: > + Scan and process barcodes + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + - heading: > + Landmark detection + description: > + Identify popular landmarks in an image + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + - heading: > + Smart reply + description: > + Provide suggested text snippet that fits context + icon: + path: ../images/landing-page/assistant_logo.png + path: /lite/image/labeling/ + + # Custom models + - classname: > + devsite-landing-row-no-image-background + devsite-landing-row-50 + devsite-landing-row-large-headings + foreground: theme + background: grey + items: + - heading: Custom models + description: > +
If models don’t cover your use cases, you can always + bring your own existing TensorFlow Lite models. Just upload your model, + and we’ll take care of hosting and serving it to your app.
+ +Models acts as an API layer to your custom model, making it easy to + run and use. In addition to deploying your models, we are releasing an + experimental model compression flow that aims to reduce model size (up + to orders of magnitudes) while maintaining similar accuracy. Sign up at + g.co/firebase/signup
+ +And if you’re new to machine learning and want more information on + custom models for mobile, you can learn more about TensorFlow + Lite.
+ image_path: /resources/images/tflite-card-16x9.png + image_left: true + - classname: devsite-landing-row-large-headings + foreground: theme + items: + - heading: Just the beginning + description: > + Our ultimate goal is to reduce idea–to–implementation cycles and make AI + an essential and intuitive part of a developer's toolkit. We will do so + by continuing to add new Base APIs that leverage Google’s machine + learning expertise. Base APIs will ultimately cover significantly more + use cases in the vision, speech, and text fields. We will also continue + to simplify use of custom models, adding tools to deploy, compress, and + create them. diff --git a/tensorflow/lite/g3doc/models/image/label/android.md b/tensorflow/lite/g3doc/models/image/label/android.md new file mode 100644 index 00000000000..9cd54aad1e9 --- /dev/null +++ b/tensorflow/lite/g3doc/models/image/label/android.md @@ -0,0 +1,3 @@ +# Android + +lorem diff --git a/tensorflow/lite/g3doc/models/image/label/ios.md b/tensorflow/lite/g3doc/models/image/label/ios.md new file mode 100644 index 00000000000..904c6450ac7 --- /dev/null +++ b/tensorflow/lite/g3doc/models/image/label/ios.md @@ -0,0 +1,3 @@ +# iOS + +lorem diff --git a/tensorflow/lite/g3doc/models/image/label/overview.md b/tensorflow/lite/g3doc/models/image/label/overview.md new file mode 100644 index 00000000000..b3d9133bb21 --- /dev/null +++ b/tensorflow/lite/g3doc/models/image/label/overview.md @@ -0,0 +1,8 @@ +# Overview + +Image labeling gives you insight into the content of images. When you use the +API, you get a list of the entities that were recognized: people, things, +places, activities, and so on. Each label found comes with a score that +indicates the confidence the ML model has in its relevance. With this +information, you can perform tasks such as automatic metadata generation +and content moderation.