Git Product home page Git Product logo

nandhakishorm / google-colab-custom-object-detection-training-and-downloading-frozen-inference-graph Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 133 KB

Google Colab custom object detection training and downloading trained frozen inference graph protobuf file to google drive

License: MIT License

Python 1.17% Jupyter Notebook 98.83%
machine-learning tensorflow deep-learning object-detection colab colab-notebook convolutional-neural-network training-dataset

google-colab-custom-object-detection-training-and-downloading-frozen-inference-graph's Introduction

Google-Colab-custom-object-detection-training-and-downloading-frozen-inference-graph

Making dataset

  1. With an appropriate number of photos (my example have 20 photos of Dell laptop), I created the annotations. The tool I used is LabelImg. For the sake of simplicity, I identified a single object class, dell. It's possible to extend it to obtain models that perform object detection on multiple object classes.
  2. I renamed the image files in the format objectclass_id.jpg (i.e. dell_001.jpg, dell_002.jpg). Then in LabelImg, I defined the bounding box where the object is located, and I saved annotations in Pascal Voc format.
  3. Finally, I uploaded annotations files in my Google Drive account, using a single zip file with the following structure: .zip file |-images directory |-image files (filename format: objectclass_id.jpg) |-annotations directory |-xmls directory |-annotations files (filename format: objectclass_id.xml)
  4. use image_resize.py to resize the images
  5. Use the testing_model.py to test your trained model using webcam

google-colab-custom-object-detection-training-and-downloading-frozen-inference-graph's People

Contributors

nandhakishorm avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.