Skip to main content

Torchvision Faster RCNN Fine Tuner

Project description

Pytorch Faster RCNN

CI Tests Check Formatting Build mkdocs Deploy mkdocs PyPi Release Install Package

Faster RCNN Fine-Tune Implementation in Pytorch.

How to use ?

  1. git clone the repo
git clone https://github.com/oke-aditya/pytorch_fasterrcnn.git
  1. Install PyTorch and torchvision for your system.

Simply edit the config file to set your hyper parameters.

  1. Keep the training and validation csv file as follows

NOTE

Do not use target as 0 class. It is reserved as background.

image_id xtl ytl xbr ybr      target
1        xmin ymin xmax ymax   1
1        xmin ymin xmax ymax   2
2		 xmin ymin xmax ymax   3
  1. Simply edit the config file to set your hyper parameters

  2. Run the train.py file

Features: -

  • It works for multiple class object detection.

Backbones Supported: -

  • Note that backbones are pretrained on imagenet.

  • Following backbones are supported

  1. vgg11, vgg13, vgg16, vgg19
  2. resnet18, resnet34, resnet50, resnet101, resnet152
  3. renext101
  4. mobilenet_v2

Sample Outputs

Helmet Detector

Helmet Detection

Mask Detector

Mask Detection

If you like the implemenation or have taken an inspiration do give a star :-)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytorch_fasterrcnn-0.2.1.tar.gz (28.3 kB view hashes)

Uploaded Source

Built Distribution

pytorch_fasterrcnn-0.2.1-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page