Questions tagged [yolo]

You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO compilation and installation, usage, and its features and functionality.

You Only Look Once (YOLO) is a real-time object detection system developed for high speed object detection within images.

Useful Links:

1841 questions
0
votes
1 answer

YOLO v3 Linux VM OpenCV imtest

I followed the instructions as given https://pjreddie.com/darknet/install/ and have done everything. However, when I enter the final command to compile with OpenCV and execute ./darknet imtest data/eagle.jpg I get: L2 Norm: 371.992218 Not compiled…
0
votes
1 answer

Unable to convert YOLOv4 to tflite

I'm trying to use yolo4 in my android project but I'm having problems with conversion. The code from: https://pypi.org/project/yolov4/ has worked well on Google-Colab, though it had some problem with my CUDA version on Jupyter notebook. I got…
freir96
  • 123
  • 2
  • 13
0
votes
1 answer

How to solve "ValueError: Cannot create group in read only mode" during loading yolo model?

I'm writing a GUI application with wxpython. The application uses yolo to detect pavement breakage. I use the yolo code to train and detect. It is too time-consuming to load the yolo model, so the GUI will freeze. Therefore, I expect to show a…
0
votes
0 answers

Make doesn't work when setting up YOLOv4? Also problems with cmake that I'm not sure if are resolved

OS: Linux Mint Cinnamon 19.3 Tricia I am trying to install YOLO v4 following these instructions: https://robocademy.com/2020/05/01/a-gentle-introduction-to-yolo-v4-for-object-detection-in-ubuntu-20-04/ and have gotten to the part where you have to…
Lana
  • 1
  • 1
0
votes
2 answers

How can I access the elements separated by comma in xml tags?

I need to store the elements separated by comma in xml tags For example, these x and y coordinates: 558.000000,790.000000 530.000000,829.000000 567.000000,855.000000
0
votes
1 answer

Why sometimes yolo object detector predicts multiple bounding box per object?

I was reading this report which I faced a problem that I have it too. I have trained a model by yolov3 algorithm and sometimes it predicts more than 1 bounding box over one object. I was wondering what is the cause of this issue. Thanks for your…
0
votes
0 answers

Keras plot_model input and output shape only question mark

I'm trying to code YOLOV1 in Keras, and I use the VGG16 which accepts (224,224,3) while the input is (448, 448, 3) (that's the size used by the authors) so I added a Conv2D and a MaxPooling layer to convert 448 to 224. However, when I use plot_model…
Dang Manh Truong
  • 795
  • 2
  • 10
  • 35
0
votes
1 answer

Training Yolov3-tiny on Google Colab, but it stopped after 4000 iterations. How do I continue training?

(I am a beginner) I trained the model with yolov3-tiny.cfg and darknet53.con.74 because I had trouble loading the yolov3-tiny.weights(not sure if this matters). The model trained in colab for 3000 iterations (a couple hours) before It stopped. When…
Jordan
  • 63
  • 2
  • 8
0
votes
0 answers

Why do I get "sed: can't read yolov4-tiny-obj.cfg: No such file or directory"

I'm trying to train tiny yolo for custom objects on google colab, however, I have come across this error. I used similar code to train yolov3, but now I am getting this error. Does anyone know what could be wrong? Here is my code: !cp…
Jordan
  • 63
  • 2
  • 8
0
votes
1 answer

loss function for YOLO

Can I use this loss function for YOLO def myLoss(y_actual,y_pred): a = tf.keras.losses.BinaryCrossentropy()(y_actual[:,:,:,0],y_pred[:,:,:,0]) b = tf.keras.losses.MeanSquaredError()(y_actual[:,:,:,1:],…
hitesh kumar
  • 421
  • 5
  • 8
0
votes
0 answers

Way to fit Numpy array size?

With Keras version 2.1.5 and tensorflow 1.6.0, yolov3 in Keras, I'm on a small project that detecting few cracks from the wall. In this step, i'm trying to extract frames out from my sample video, but I got some errors for some reasons that I can't…
Gorani
  • 1
  • 1
  • 2
0
votes
1 answer

Training data for YOLO

I am trying to train a YOLO model. For this purpose I have divided my input image of 224*224 into 14*14 grids. Now if suppose theres an object its centre is located at Bx,By considering 0,0 as top left of image and has Bw, Bh height and width…
0
votes
1 answer

Yolo v3 Loss Function fails when reloaded during load_model

I've been trying to save a Yolo v3 model and then Load it back from from an h5 file. When saving I use the checkpoint (ModelCheckpoint) to save the model (with the parameter save_weights_only set to False in order to save the WHOLE model). However,…
N. Wells
  • 143
  • 1
  • 12
0
votes
2 answers

Does image resolution for training/validation affect Yolov3 ability to detecting object from short and long distance

Let's say I want to be able to detect car models from short and long distance. Does it mean I have to prepare training & validation dataset which contains same car images with multiple resolution? Any insight would be greatly…
SetNug
  • 331
  • 1
  • 2
  • 13
0
votes
1 answer

AssertionError: File Not Found YOLOv5

When I was using YOLOV5 training, run "python train.py --img 640 --batch 8 --epochs 30 --data='C:\Users\juwei\Desktop\yolov5-master\data\ road.yaml' --cfg='C:\Users\juwei\Desktop\yolov5-master\models\yolov5s.yaml' --device 0" in Terminal, an error…
jiki
  • 25
  • 1
  • 9