Skip to content
/ models Public
forked from tensorflow/models

Models and examples built with TensorFlow

License

Notifications You must be signed in to change notification settings

barvins/models

 
 

Repository files navigation

Barvins fork of TensorFlow Models

Changes done to deeplab model:

  • Allow to train multiple classes per pixel, makes it suitable not only for segmentation but also for keypoint detection.
  • pre and postprocessing layers can be cut off when exporting models, to get rid of operations not supported by TensorRT and Tensorflow Lite
  • ResizeBilinear layers are replaced with ResizeNearestneighbor, since there is no real difference in quality and nearst neighbor is easier to implement in CUDA, since TensorRT does not support resize layers.

Object detection and deeplab models both have custom image augmentation:

  • removed zoom since tensorflow's downsalmpling distorts fine details in images like nets. It was easier to provide different zoom levels in generated dataset than to implement proper resizing method in tensorflow.
  • random crop that assumes that dataset is generated so that there is always enough margin in image to not cut off parts of important objects
  • random gamma
  • random contrast/brightness that does not go outside of min/max pixel value range
  • random light color
  • random hue in really wide range, we don't care about blue human faces, but want t-shirts to be in every possible color
  • random blur
  • ability to switch labels when doing ranfom flip (for some labels orientation matters)

This repository contains a number of different models implemented in TensorFlow:

The official models are a collection of example models that use TensorFlow's high-level APIs. They are intended to be well-maintained, tested, and kept up to date with the latest stable TensorFlow API. They should also be reasonably optimized for fast performance while still being easy to read. We especially recommend newer TensorFlow users to start here.

The research models are a large collection of models implemented in TensorFlow by researchers. They are not officially supported or available in release branches; it is up to the individual researchers to maintain the models and/or provide support on issues and pull requests.

The samples folder contains code snippets and smaller models that demonstrate features of TensorFlow, including code presented in various blog posts.

The tutorials folder is a collection of models described in the TensorFlow tutorials.

Contribution guidelines

If you want to contribute to models, be sure to review the contribution guidelines.

License

Apache License 2.0

About

Models and examples built with TensorFlow

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.1%
  • Jupyter Notebook 15.6%
  • C++ 8.4%
  • HTML 0.8%
  • Shell 0.8%
  • JavaScript 0.2%
  • Other 0.1%