Yolo Training: multiple objects in one image

Kenji Theodore Kusuma

I have a set of training images that contain many small objects (10-20). The image resolution is high (9000x6000).

Is it better to split the image into the specific objects before running yolo training? Or just leave it as is.

Does yolo resize an entire image, or does it ‘extract’ the annotated object first before resizing?

If it is the former, I am concerned that the resolution will be bad. Imagine 20 objects in a 416x416 image.

Venkatesh Wadawadagi

Does yolo resize an entire image, or does it ‘extract’ the annotated object first before resizing?

Yes, an entire image will be resized in case of Yolo and it does not extract annotated object before resizing.

Since your input images have very high resolution, what you can do is:

  • Yolo can handle object sizes of 25 x 25 effectively with network input layer size 608 x 608. So if your object sizes in original input image are greater than 250 x 250 you can train the images as they are (with 608 x 608 network size). In that case even when images are resized to network size, objects will be of size greater than 25x25. This should give you good accuracy. (6000/600) * 25 = 250

  • If object sizes in original images are smaller than 200 x 200, split your input image into 8 smaller units/blocks, say blocks/tiles of 2250 x 1500. Train these blocks as individual images. Each bigger image (9000 x 6000) corresponds to 8 training images. Each image might contain zero to many objects. You can operate in sliding window method.

  • The method you choose for training should be used for inference as well.

For training on objects of all sizes use following models: [Use this if you use original image as it is used for training]

If all of the objects that you want to detect are of smaller size, then for effective detection use Yolov4 with following changes: [Use this if you split original image into 8 blocks]

References:

  • Refer this relevant GitHub thread
  • darknet documentation

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Gson - Merge multiple JSONs objects into one JSON

分類Dev

How many (classes of) objects can YOLO detect?

分類Dev

Sum and average values of multiple objects in an array into one array

分類Dev

Change style.display on multiple objects through one button JAVASCRIPT

分類Dev

Python 3 Yolo darknet load_image <class TypeError '>

分類Dev

Can't select one image only when using multiple image selection mode

分類Dev

How to animate multiple HTML5 canvas objects one after another?

分類Dev

How would I go about serializing multiple file objects into one file?

分類Dev

IBM watson image recognition : time taken for training

分類Dev

Serializing objects Codename One

分類Dev

Use multiple training methods to train a ANN with Encog

分類Dev

Calculating same features with multiple training windows in Featuretools

分類Dev

Reading multiple .csv files for training and testing in tensorflow

分類Dev

How to blur in CSS only one layer of when you have multiple layers in background-image?

分類Dev

Remove multiple objects with rm()

分類Dev

Multiple Objects into HttpParams

分類Dev

Instantiating multiple objects in python

分類Dev

WebGL draw multiple objects

分類Dev

Multiple objects, different behavior

分類Dev

Swift: different objects in one array?

分類Dev

Java lock objects in one class

分類Dev

Obtain one property of an array of objects

分類Dev

SciKit One-class SVM classifier training time increases exponentially with size of training data

分類Dev

Split image into multiple grids

分類Dev

Multiple image upload in firebase

分類Dev

Image viewer for multiple images

分類Dev

Multiple Image Uploader with Preview

分類Dev

Multiple pods in one workspace

分類Dev

Python IF multiple "and" "or" in one statement

Related 関連記事

  1. 1

    Gson - Merge multiple JSONs objects into one JSON

  2. 2

    How many (classes of) objects can YOLO detect?

  3. 3

    Sum and average values of multiple objects in an array into one array

  4. 4

    Change style.display on multiple objects through one button JAVASCRIPT

  5. 5

    Python 3 Yolo darknet load_image <class TypeError '>

  6. 6

    Can't select one image only when using multiple image selection mode

  7. 7

    How to animate multiple HTML5 canvas objects one after another?

  8. 8

    How would I go about serializing multiple file objects into one file?

  9. 9

    IBM watson image recognition : time taken for training

  10. 10

    Serializing objects Codename One

  11. 11

    Use multiple training methods to train a ANN with Encog

  12. 12

    Calculating same features with multiple training windows in Featuretools

  13. 13

    Reading multiple .csv files for training and testing in tensorflow

  14. 14

    How to blur in CSS only one layer of when you have multiple layers in background-image?

  15. 15

    Remove multiple objects with rm()

  16. 16

    Multiple Objects into HttpParams

  17. 17

    Instantiating multiple objects in python

  18. 18

    WebGL draw multiple objects

  19. 19

    Multiple objects, different behavior

  20. 20

    Swift: different objects in one array?

  21. 21

    Java lock objects in one class

  22. 22

    Obtain one property of an array of objects

  23. 23

    SciKit One-class SVM classifier training time increases exponentially with size of training data

  24. 24

    Split image into multiple grids

  25. 25

    Multiple image upload in firebase

  26. 26

    Image viewer for multiple images

  27. 27

    Multiple Image Uploader with Preview

  28. 28

    Multiple pods in one workspace

  29. 29

    Python IF multiple "and" "or" in one statement

ホットタグ

アーカイブ