Tag Info

4

The example given based on the yolov1 paper: The last layer has a tensor of the dimension 7x7x30. but the dimension of the last tensor is not in every case 7x7x30. let be: S: the number of grid cells in X and Y direction C: the number classes to train B: the number of bounding boxes in every grid cell The dimension of the output tensor is calculated with ...

3

Here's a recent paper that does what you're looking for. It looks like they achieve this simply by adding a couple rotated prior boxes and regressing the angles in between. This is similar to what standard object detectors do in terms of creating a bunch of prior box shapes and regressing the actual sizes.

2

In effect, the midpoint is contained in cell $2$. Cells $1,3,4$ will be shown at $P_c=0$ according to the YOLO algorithm, which only takes in count the cell that contains the midpoint and calculates the bounding box, as you mentioned, with $b_y b_x, b_y, b_h, b_w$. With the proposition of $Y = [1, 0.9, 0.1, 2, 2]$, I would think that if you take the point $(... 2 It should not be much more difficult to predict a rotated rectangle compared to a bounding box. A bounding box can be parameterized with 4 floats:$x_c$,$y_c$, width, height. A rotated rectangle can be parameterized with 5 floats:$x_c$,$y_c, width, height, angle. However, to avoid the wrap-around issue with predicting the angle with one value (0° is same ... 2 I think you underestimate the size of YOLO. This is the size of one segment of yolo tiny according to the darknet .cfg file: Convolutional Neural Network structure: 416x416x3 Input image 416x416x16 Convolutional layer: 3x3x16, stride = 1, padding = 1 208x208x16 Max pooling layer: 2x2, stride = 2 208x208x32 ... 2 Unfortunately, the answer here is that "it depends". People have taken different approaches to this problem and I'll describe a few here. None of which however is the "right" answer. Labeling When generating benchmark datasets, we actually do have this problem. To be honest, most of the time the labeling is done to the best ability of the ... 2 A unified neural network model consists of one neural network as opposed to other models that rely on two or more neural networks. For example, from page two of the YOLO paper: 2. Unified Detection We unify the separate components of object detection into a single neural network. Our network uses features from the entire image to predict each bounding box. ... 2 My assumption was correct: the ground truth bounding box is aligned with an anchor box such that they share the same center In other words, only the widths and heights are used to calculate the ground truth IOU. 2 The output of YOLO is (x,y,w,h,confidence,class). The confidence value presents whether the rectangle holds an object, the rectangle is non-classed when confidence is low. The class value will be used, only when confidence is high. 2 I think there is no absolute answer for this. Often its kind of trial and error. In general the CNN tries to generalize the problem, so using all logos with different augmentations and ground truths can maybe lead to some feature maps, which are so general that the CNN can find logos. But if your logos are so various, and embedded in colorful websites, the ... 1 It depends upon the factors such as 1. Batch size (GPU memory capacity) 2. CPU speed and number of cores(multi-threading to load the images) Number of classes increase the number of convolution filters only in the prediction layers of YOLO. It influences only less than 1% speed of the detector to train the model. 1 In any case anyone is struggling with the same problem. It seems that they were simply typos in the original paper. I have downloaded the author's framework Darknet, as well as the configuration and weight files for YOLOv1. Then, the architecture can be tested with one sample image using this command: ./darknet yolo test cfg/yolov1/yolo.cfg yolov1.weights ... 1 Duplicate boxes with unique labels make the problem too complex for the model. What I suggest is you use the horse face detection model to get a bounding box of the horse's face, crop the face image and use that image as a training sample for a separate classification model. I have seen this method used often in human identification, and dividing the tasks/... 1 Model architecture: In machine learning, static image detectors can be is very different from video detectors, as movement plays a big role on the task. So, even when comparing frames the objects are similar, when digesting the video, a model can learn very different things. Maybe adding parked cars to the database increased false positives, mistakenly ... 1 Yes, the functionality should is there. But, don't you think you are overdoing the scales. You have at least 18 scales mentioned here. Too much of anything is bad. There is a reason it likes things divisible by 32 because at that increase in size something more meaningful will show up in the image. Spamming sizes like this won't help you at all, it would ... 1 Ok, let go step by step. What you are working on is YOLOv1, in this version of the YOLO algorithm, the maximum bounding boxes that the model can return is 7x7 = 49 boxes as 49 cells since the output shape is 7x7x30. For each box, the depth of output is 30 because the number of labels of PASCAL VOCS 2012 is 20 (the author of YOLOv1 trained on this dataset) so ... 1 There is a paper face pose estimation It uses a very straight forward technique, and very obvious augmentaions to achieve nice results. You could use exactly the same if you have a tagged dataset for cars rather than for faces. I was able to reproduce the results myself a while back. 1 I think the problem can be phrased (more generally) as a Pose Estimation Problem. That term might help in obtaining better search results when searching for relevant papers. One paper that I found on the given topic was this one. Even if it is maybe (for whatever reason) not what you are looking for precisely, it might still contain valuable references to ... 1 You can use the dataset test set as "frames" of video. Test the images with your model and calculate the images per second of the result and that is the same as frames per second. However you should set the batch size to 1 as in the real world scenario. You should also display each image with teh corresponding boxes after inference and remove the accuracy ... 1 As I know about the YOLO, it's algorithm splits the whole picture into many small frames and perform classification and boundaries detection at once for every frame, so that the location of the object is not a matter. 1 It is much better to know basic mechanics of convnets first ,rather than diving straight into complicated models . For training data sets (the images) I need to collect, I placed a camera. By recording it and collecting images from there, I am getting images with more noise. Can I use these images for training? Also, which yolo version should I use? What ... 1 Recent work achieves a similar task: Object recognition together with the bounding box (e.g. YOLO---there are quite a few on Github too). The bounding box is not enough in your case, but it is an interesting pattern: Recognition plus some form of measurement. Such architectures could be good candidate to start with, and repurpose for stick orientation. The ... 1 So you have a network pretrained on 80 classes. I also assume that one of these classes are human (or else this is just not the way to go*) I suspect that the final layer contains 80 labels, correct? Then you then 'rescale' this layer to 1 label and then train on some data you possess? Then you're basically trying to teach the network that it shouldn't care ... 1 The correct interpretation (based on the comment by the author of the question below): Yep, you are right. It is actually only a single cell per object that contributes to the loss with\mathbb{1}^\text{obj}_{ij}\$ factor. That cell is identified as the one that contains the centre(oid) of the ground truth box of the corresponding object. My original (...

1

Not an pro but I think I know some answers to your questions. If we train our classifier, wouldn't the prediction boxes be close to the ground truth labels as training progresses I think that's what YOLO v1 did. According to Andrew NG's video the bounding boxes are introduced to solve multiple objects inside the same grid cell. And according to this ...

Only top voted, non community-wiki answers of a minimum length are eligible