Skip to main content

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 :-)

Metadata

Release files for pytorch-fasterrcnn 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytorch-fasterrcnn 0.2.1
File Size Uploaded
pytorch_fasterrcnn-0.2.1.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytorch-fasterrcnn 0.2.1
File Interpreter ABI Platform
pytorch_fasterrcnn-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 54.6 kB

Release files / pytorch_fasterrcnn-0.2.1.tar.gz

Download URL pytorch_fasterrcnn-0.2.1.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8d3b1a33bd97e99fd378701443b2f9e6987f31d2be9b51451fd5552551b9496a
BLAKE2b-256 checksum
How to use checksums
ee2f715b8fa6cfeec86af53cfd4fe4b6275a9e1b3ecbd51431ddcdfa5e87044a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / pytorch_fasterrcnn-0.2.1-py3-none-any.whl

Download URL pytorch_fasterrcnn-0.2.1-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53e74b9c56c958dcfc14cc54331786a71297d33427a16ba84dd11c9bb9a9171a
BLAKE2b-256 checksum
How to use checksums
1f9f2b7cafc5fbbd62d8667098c8def1238ea7c96057699844da3604d433f928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page