All Projects → wagonhelm → Tf_objectdetection_api

wagonhelm / Tf_objectdetection_api

Tutorial on how to create your own object detection dataset and train using TensorFlow's API

Projects that are alternatives of or similar to Tf objectdetection api

Circle Line Analytics
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Bert Loves Chemistry
bert-loves-chemistry: a repository of HuggingFace models applied on chemical SMILES data for drug design, chemical modelling, etc.
Stars: ✭ 103 (-1.9%)
Mutual labels:  jupyter-notebook
Openplan
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Python Fundamentals
Introductory Python Series for UC Berkeley's D-Lab
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Tensorflow2.0 Examples
🙄 Difficult algorithm, Simple code.
Stars: ✭ 1,397 (+1230.48%)
Mutual labels:  jupyter-notebook
D2l Torch
《动手学深度学习》 PyTorch 版本
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Dmm
Deep Markov Models
Stars: ✭ 103 (-1.9%)
Mutual labels:  jupyter-notebook
Kaggle Ds Bowl 2018 Baseline
Full train/inference/submission pipeline adapted to the competition from https://github.com/matterport/Mask_RCNN
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Cenpy
Explore and download data from Census APIs
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Spring2019 tutorials
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Satimg
Satellite data processing experiments
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Team Learning
主要展示Datawhale的组队学习计划。
Stars: ✭ 1,397 (+1230.48%)
Mutual labels:  jupyter-notebook
Manipulation
Course notes for MIT manipulation class
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Partia Computing Michaelmas
Activities and exercises for the Part IA computing course in Michaelmas Term
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Faceaging By Cyclegan
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Sharing isl python
An Introduction to Statistical Learning with Applications in PYTHON
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Content Aws Mls C01
AWS Certified Machine Learning - Specialty (MLS-C01)
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Simple adversarial examples
Repo of simple adversarial examples on vanilla neural networks trained on MNIST
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook
Face Classification
Face model to classify gender and race. Trained on LFWA+ Dataset.
Stars: ✭ 104 (-0.95%)
Mutual labels:  jupyter-notebook
Unet Segmentation In Keras Tensorflow
UNet is a fully convolutional network(FCN) that does image segmentation. Its goal is to predict each pixel's class. It is built upon the FCN and modified in a way that it yields better segmentation in medical imaging.
Stars: ✭ 105 (+0%)
Mutual labels:  jupyter-notebook

TensorFlow Object Detection API Tutorial

This repository has the code from my O'Reilly article published on October 25, 2017.

Required Packages

There are two ways you can install these packages: by using Docker or by using native Python 3.5.

Using Docker

  1. Download and install Docker. If using Ubuntu 14.04/16.04 I wrote my own instructions for installing docker here.

  2. Download and unzip this entire repo from GitHub, either interactively, or by entering

    git clone https://github.com/wagonhelm/TF_ObjectDetection_API.git
    
    
  3. Open your terminal and use cd to navigate into the directory of the repo on your machine

    cd TF_ObjectDetection_API
    
  4. To build the Dockerfile, enter

    docker build -t object_dockerfile -f dockerfile .
    

    If you get a permissions error on running this command, you may need to run it with sudo:

    sudo docker build -t object_dockerfile -f dockerfile .
    
  5. Run Docker from the Dockerfile you've just built

    docker run -it -p 8888:8888 -p 6006:6006 object_dockerfile bash
    

    or

    sudo docker run -it -p 8888:8888 -p 6006:6006 object_dockerfile bash
    

    if you run into permission problems.

  6. Install TensorFlow Object Detection API

    cd models/research/
    protoc object_detection/protos/*.proto --python_out=.
    export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
    cd ..
    cd ..
    
  7. Launch Jupyter and Tensorboard both by using tmux

    tmux
    
    jupyter notebook --allow-root
    

    Press CTL+B then C to open a new tmux window, then

    tensorboard --logdir='data'
    

    To switch windows Press CTL+B then window #

    Once both jupyter and tensorboard are running, using your browser, navigate to the URLs shown in the terminal output if those don't work try http://localhost:8888/ for Jupyter Notebook and http://localhost:6006/ for Tensorboard. I had issues with using TensorBoard with Firefox when launched from Docker.

Using Native Python 3

  1. Install system requirements
sudo apt-get install -y git-core wget protobuf-compiler 
  1. Download and unzip this entire repo from GitHub, either interactively, or by entering
git clone https://github.com/wagonhelm/TF_ObjectDetection_API.git
  1. Install Python Requirement
cd TF_ObjectDetection_API
# Requires sudo if not in a virtual environment
pip3 install -r requirements.txt
pip3 install tensorflow jupyter
  1. Clone TensorFlow Models Into Repository Directory and Install Object Detection API
cd TF_ObjectDetection_API
git clone https://github.com/tensorflow/models.git

You will have to run this command every time you close your terminal unless you add the the path to slim to your .bashrc file

cd models/research/
protoc object_detection/protos/*.proto --python_out=.
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
cd ..
cd ..
  1. Launch Jupyter
jupyter notebook
  1. Launch Tensorboard In New Terminal
tensorboard --logdir='data'

Once both jupyter and tensorboard are running, using your browser, navigate to the URLs shown in the terminal output if those don't work try http://localhost:8888/ for Jupyter Notebook and http://localhost:6006/ for Tensorboard.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].