Code Monkey home page Code Monkey logo

wheat_det's Introduction

Wheat Head Detection based on YOLOv3

Currently this repo will summarize and implement current loss functions and non-maximum suppression methods came up for object detection(simalar to the other repo obj-det-loss,but the other repo did not achieve a good result), so I work on this repo first.

Our goal is to analyze different tricks.

  • Revise codes to be more readable and concise

  • Loss_Funcs

    • bbox loss
      • Anchor-based Loss
        • YOLOv3-based
          • Regression Loss #testing
          • IOU Loss
          • GIOU Loss$[1]}#deal with gradient vanish caused by IOU is zero for non-overlap
          • Combined regression with GIOU
    • loss for confidence
      • Binary Cross Entropy
        • It is so hard to find a suitble pos/neg weight T T
      • dice loss[2]
        • hope to help deal with class imbalance
        • not so good as expect
    • Others
      • Use tanh to w,h to avoid grad explosion
      • Sum vs Mean
        • In my opinion, mean is literally better for analyze loss change but also means batch size and number of ground truth will influence gradient
        • even in some extent means errors in the crowded scenes(which is usually harder) get less penalty
        • So I display the mean(for analysis) but optimize on sum loss.
  • Non-maximum-suppression

    • Hard NMS
    • Soft NMS[3]
  • Other Tricks

    • Mosaic Augmentation
    • Sort ground truth to maximize matches reasonablly for multiple matches
    • Hard Key example mining and other machine learning tricks
  • Results

    • On Validation Set
      • YOLO-SPP
        • YOLO Loss, mAP:0.63
  • Reference:

wheat_det's People

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.