Giter VIP home page Giter VIP logo

retinanet's Introduction

RetinaNet

pytorch 1.3 and python 3.6 is supported

A PyTorch implementation of RetinaNet, with support for training, inference and evaluation.

Introduction

The method of RetinaNet was used to perform defect detection on NEU surface defect database, and We adopted data enhancement methods such as random clipping, flipping and color enhancement. Finally achieved a satisfactory result.

Installation

Clone and install requirements
$ git clone https://github.com/Gmy12138/RetinaNet.git
$ cd RetinaNet/
$ pip install -r requirements.txt
Download pretrained weights
$ cd scripts/
$ run get_state_dict.py
Download NEU-DET dataset
$ Download address    http://faculty.neu.edu.cn/yunhyan/NEU_surface_defect_database.html
$ cd data/
$ Put the dataset in the data folder

Test

Evaluates the model on NEU-DET test.

Model Image Size Data Enhancement mAP (min. 50 IoU)
RetinaNet 300 YES 61.3

Inference

Uses pretrained weights to make predictions on images. The ResNet-50 measurement marked shows the inference time of this implementation on GPU 2080ti.

Model Backbone Image Size GPU FPS parameters (106) FLOPs (109)
RetinaNet ResNet-50 300 2080ti 27 35.84 37.43

retinanet's People

Contributors

gmy12138 avatar xiangxiangtao avatar

Watchers

 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.