Git Product home page Git Product logo

Comments (4)

WongKinYiu avatar WongKinYiu commented on May 13, 2024

Example of YOLOv4-large:

  1. Follow Training YOLO on VOC to prepare VOC data.
  2. Follow coco.data to create voc.data.
  3. add argument --data data/voc.data when training.

from scaledyolov4.

SpongeBab avatar SpongeBab commented on May 13, 2024

@WongKinYiu @infinite013
Now I can confirm @WongKinYiu are wrong.
The YOLO format is not same as before(it also mean is not the same as yolov4 )
(Yolo-CSP copy the code of YOLOv5 of the https://github.com/ultralytics/yolov5.and it is the author of yolov3. It's has the different dataset format :)
now:

Each row is class x_center y_center width height format.

The https://pjreddie.com/darknet/yolo/ make the VOC dataset with:

<object-class> <x> <y> <width> <height>

Although it can train and no error.
But it is wrong as i show at #205

x_center y_center width height format. is a relavtive coordinate.
<x> <y> <width> <height> is the absolute coordinate.

from scaledyolov4.

WongKinYiu avatar WongKinYiu commented on May 13, 2024

no, the https://pjreddie.com/darknet/yolo/ make the VOC dataset with relative coordinate.

https://github.com/AlexeyAB/darknet/blob/master/scripts/voc_label.py#L12-L23

from scaledyolov4.

SpongeBab avatar SpongeBab commented on May 13, 2024

@WongKinYiu
The https://pjreddie.com/darknet/yolo/ make the VOC dataset with relative coordinate. It does.
But when the image is flipped, the angle is changed, and various mosaic enhancements are performed, the values ​​of x and y do not seem to change correctly. Just like the train_batch0 picture shows.


I'm wrong.I think this is a kind of mosaic enhancements.I trained 300 and get good detections.

from scaledyolov4.

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.