Coder Social home page Coder Social logo

Image labels are wrong about drone-net HOT 5 OPEN

chuanenlin avatar chuanenlin commented on May 28, 2024
Image labels are wrong

from drone-net.

Comments (5)

chuanenlin avatar chuanenlin commented on May 28, 2024 1

The class ID is the first digit of each line in the label .txt files. In YOLO, the IDs start from 0 and increments by one for each new class. Since the labels are specifically for one class only (drone), all the labels have ID of 0.

from drone-net.

chuanenlin avatar chuanenlin commented on May 28, 2024 1

@JSGFJSG The labels are in the format: [class_id] [x_center] [y_center] [x_width] [y_width] which is the standard format for YOLO.

from drone-net.

JSGFJSG avatar JSGFJSG commented on May 28, 2024

Could you explain how is stored the bounding box information in the label files?. Because if you draw the bounding box in the image, it is completely broken.

Thanks

from drone-net.

JSGFJSG avatar JSGFJSG commented on May 28, 2024

@chuanenlin Why don't you use the bounding box coordinates normalized by image width and height as is indicated in https://github.com/AlexeyAB/darknet#how-to-train-to-detect-your-custom-objects?. Thanks in advance.

from drone-net.

chuanenlin avatar chuanenlin commented on May 28, 2024

@JSGFJSG I haven't normalized the coordinates because this is the correct labeling format for the Linux (original) version of YOLO. However, I think it should be relatively straightforward to do normalization since you can easily find the image width and height of all raw images.

from drone-net.

Related Issues (10)

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.