NCTC / models /official /README.md
NCTCMumbai's picture
Upload 2571 files
0b8359d
|
raw
history blame
5.45 kB

Logo

TensorFlow Official Models

The TensorFlow official models are a collection of models that use TensorFlow’s high-level APIs. They are intended to be well-maintained, tested, and kept up to date with the latest TensorFlow API.

They should also be reasonably optimized for fast performance while still being easy to read. These models are used as end-to-end tests, ensuring that the models run with the same or improved speed and performance with each new TensorFlow build.

More models to come!

The team is actively developing new models. In the near future, we will add:

  • State-of-the-art language understanding models: More members in Transformer family
  • Start-of-the-art image classification models: EfficientNet, MnasNet, and variants
  • A set of excellent objection detection models.

Table of Contents

Models and Implementations

Computer Vision

Image Classification

Object Detection and Segmentation

Natural Language Processing

Recommendation

Model Reference (Paper)
NCF Neural Collaborative Filtering

How to get started with the official models

Please follow the below steps before running models in this repository.

Requirements

  • The latest TensorFlow Model Garden release and TensorFlow 2
    • If you are on a version of TensorFlow earlier than 2.2, please upgrade your TensorFlow to the latest TensorFlow 2.
pip3 install tf-nightly

Installation

Method 1: Install the TensorFlow Model Garden pip package

tf-models-nightly is the nightly Model Garden package created daily automatically. pip will install all models and dependencies automatically.

pip install tf-models-nightly

Please check out our example to learn how to use a PIP package.

Method 2: Clone the source

  1. Clone the GitHub repository:
git clone https://github.com/tensorflow/models.git
  1. Add the top-level /models folder to the Python path.
export PYTHONPATH=$PYTHONPATH:/path/to/models

If you are using a Colab notebook, please set the Python path with os.environ.

import os
os.environ['PYTHONPATH'] += ":/path/to/models"
  1. Install other dependencies
pip3 install --user -r official/requirements.txt

Contributions

If you want to contribute, please review the contribution guidelines.