Skip to content

Instantly share code, notes, and snippets.

View shreejalt's full-sized avatar

Shreejal Trivedi shreejalt

View GitHub Profile
@shreejalt
shreejalt / boundingBoxGenerator.py
Created June 22, 2020 15:37
Numpy version of Bounding Box Generator from the paper: Generating Positive Bounding Boxes for Balanced Training of Object Detectors
'''
Description: Generate bounding boxes of different aspect ratio and scales given a ground truth box and IoU Threshold(NUMPY Version)
Reference Paper: Generating Positive Bounding Boxes for Balanced Training of Object Detectors - September 2019.
Link: https://arxiv.org/pdf/1909.09777.pdf
Official Github Repository Code: https://github.com/kemaloksuz/BoundingBoxGenerator
NOTE: THIS CODE IS TAKEN FROM OFFICIAL REPOSITORY MENTIONED BY THE AUTHORS IN PAPER.
CHANGES MADE: TORCH -> NUMPY CONVERSION OF THE SNIPPET
@shreejalt
shreejalt / RegNet.py
Last active June 18, 2020 10:46
Pytorch implementation to generate different families of RegNet Models(Facebook AI Research: March'2020)
'''
Name: Shreejal Trivedi
Description: Generation Script of RegNetX and RegNetY models
References: Designing Network Design Spaces from Facebook AI March'2020
'''
#Importing Libraries