GithubHelp home page GithubHelp logo

Comments (3)

AIWintermuteAI avatar AIWintermuteAI commented on September 17, 2024

Thank you for kind words!
While I did not make tests to study this problem, theoretically because of the way how YOLO detection works you do not need any images without the object to train good model - all the pictures can contain object and it will train well.
YOLO v2 has a number of outputs for each box in the grid cell:

  • parameters for the boundary box (x,y, w, h)
  • box confidence score (objectness)
  • class probabilities
    When training it learns to make box confidence score low for the boxes in grid that DO NOT contain objects. For example
    yolo-object-detection
    In this picture there will still be prediction made for grid cells that have tree and floor in the center, but their box confidence scores will be very low.
    Scores@2x
    So, the model learns still learns the negative examples from these pictures, even despite one instance of the object is present.

from axelerate.

AIWintermuteAI avatar AIWintermuteAI commented on September 17, 2024

Oh and as a side note - INRIA nowadays can be considered "a toy dataset' for pedestrian detection. The number of positive samples is quite few (for modern days standards) and there are some instances where not all people present in the image are annotated - you can see it if you browse through dataset with labeling tool. Which worsens the performance of the model (prediction made on a person NOT included annotation, but present in the image considered to be false positive and will be penalized by loss function).
I did want to make BetterINRIA dataset, with all people annotated and more images added from PASCAL-VOC, but sadly no time for this now.

from axelerate.

GiordanoLucio avatar GiordanoLucio commented on September 17, 2024

Thank you very much for the explanation.
I also tought that no images without person were needed but as the performances didn't improve like with your dataset did, I had this doubt because I saw that you have provided some images without the person.
For the dataset, I'm working on it, if I get good result maybe I can give it to you.
Thank you again, I'll close the issue!

from axelerate.

Related Issues (20)

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.