Giter VIP home page Giter VIP logo

ndl-image-detection-3rd-solution's Introduction

My machine

  • Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz
  • CUDA 10.1, python3.6.9, pytorch 1.3.1
  • 2 1080ti

Step 0: Set up environment

1. install anaconda
2. conda create -n fuxian python=3.6.9
3. conda activate fuxian; cd code
4. pip install -r requirements.txt
5. python setup.py develop
6. put all data under the directory data/, and unzip them

Step 1: Prepare dataset

 python tools/library/prepare_testdataset_split.py

Step 2: Inference

1. bash predict.sh
2. python tools/library/merge_bbox_gudian.py
3. python tools/library/merge_bbox_jindai.py 
4. python tools/library/prepare_submit_split_sort.py
  • you can find the final json in data/final_submit.json

Step 3: Retrain

bash data/download.sh
python tools/library/prepare_dataset_split.py
bash train.sh
  • because I use coco-pretrained weights, so we have to donwload them
  • the training configs use 2 gpu, if you have only 1, you have to change the learning rate to half manually. when training is finished, you can find weight in data/retrained/models/

ndl-image-detection-3rd-solution's People

Contributors

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