Giter Site home page Giter Site logo

mskpd-rdbca's Introduction

MSKPD-RDBCA

Pre-trained models

You may download all models reported in the paper from Google Drive or Baidu Cloud.

We have trained our model with backbone of ResNet-18, ResNet-50 and MobileNet V2.

Experimental environment

  • Windows Server 2019
  • Python 3.7
  • Pytorch 1.8.1
  • CUDNN 8.2.1.32

How to use

git clone https://github.com/Tao-JiaJun/MSKPD-RDBCA.git
cd mskpd-rdbca/

Please read the comment in eval_voc.py, and use the correct model and correct config files. For instance, if you want to evaluate the model with ResNet-18 at resolution of 384x384, please change the cfg file first.

# line 66
model = Detector(device, input_size=voc['input_size'], num_cls=20, strides = voc['strides'], scales=voc['scales'], cfg=RES18_RDB_384)

Second, select the model correspongding to the config file.

# line 70
checkpoint = torch.load('./weights/RES18_RDB_384.pth',map_location=device)

Third, run eval_voc.py

python eval_voc.py

Last, get the mean average precision.

python evel/get_map.py

mskpd-rdbca's People

Contributors

tao-jiajun avatar

Stargazers

 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.