Git Product home page Git Product logo

mmdetection-supervisely-person-datasets's Introduction

mmdetection-supervisely

We used mmdetection(mask rcnn) to train supervisely person dataset.

demo image

Installation

Requirements

  • Ubuntu 16.04
  • Python 3.4+
  • PyTorch 0.4.1
  • Cython
git clone https://github.com/nicehuster/mmdetection-supervisely-person-datasets.git

cd mmdetection-supervisely-person-datasets

bash compile.sh

# run setup
python setup.py install 

# or install locally
python setup.py install --user

export PYTHONPATH=$PYTHONPATH:{pwd}

Data

You can download supervisely person dataset from the official website, or you can download from baiduyun(链接: https://pan.baidu.com/s/1EsXXlEvA_tAkLv1vqgPEKA 提取码: xrm9) after download the dataset, place it in data folder, and The dataset is structured as follows:

.
├── ds1
│   ├── ann
│   └── img
...
├── ds11
│   ├── ann
│   └── img
├── ds12
│   ├── ann
│   └── img
├── ds13
│   ├── ann
│   └── img
└── meta.json

Test image

You can download the pretrained model trained on supervisely person dataset in baidu,passwd:ytiv

python demox.py

train a model

python tools/train.py configs/supervisely.py --gpus 2 

Important:

  • you need to set the learning rate proportional to the GPU num. E.g., modify lr to 0.01 for 4 GPUs or 0.005 for 2 GPUs.
  • In this repository, the pytorch version is 0.4.1
  • In the pretrained model, I only trained the model 80 epoches, you can train more epoch to get better results.

mmdetection-supervisely-person-datasets's People

Contributors

nicehuster 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.