-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drones not detected after training of Tiny YOLOv3 #6
Comments
@damnko I see that you always have count = 0. Perhaps check if all your training images are correctly labeled and configured (e.g. in same directory)? |
Hi @chuanenlin thanks for your prompt reply. That |
@damnko Yes, therefore If you start from |
Oh, a couple of days... But were you training the standard, non-tiny, version right? But then what does |
Ok thanks, I will investigate a little bit more and then will open an issue on the darknet repo. Thanks for now, I will keep you posted and come back to close this issue. |
Hi @chuanenlin , sorry to ask you again. But I've tried to follow another tutorial with a different dataset and it worked, now I'm trying the same settings, with your images/labels and I'm having the same problem. The labels of the other tutorial (which works) is in the following form: So, the first seems to have relative positions/dimensions, and yours absolute. Is there something wrong, or both should work? I wonder if the problem is there. |
@damnko May I ask which repository for YOLO are you using? Some variants such as AlexeyAB's version require different labeling formats, such as the one you mentioned. The labels in this repo should work with the original (pjreddie's) version. |
This is the version I compiled: https://github.com/pjreddie/darknet |
That's odd - I trained the weights with the labels in this repo so the formatting should be fine. 🤔 |
I don't know, even when using labelimg for image labeling following YOLO format they look like this... |
@damnko What OS are you on? I am having a similar problem with normal YOLO. Also, what was the other tutorial? |
Hi @trigaten , I was using Linux Mint. It was some time ago and can't remember the other tutorial I was looking at but I guess it was this one: https://www.learnopencv.com/training-yolov3-deep-learning-based-custom-object-detector/ |
Hi, I've followed your tutorial in order to train Tiny YOLOv3 with drone images. After ~1900 iterations I'm still not getting any detection even on training images, which is strange. I've tested with your weights and everything works, so there must be some problem during my training procedure.
Darknet has been compiled with GPU and the training has been done on Google Colab. Here is the output during the training run with the command
./darknet detector train drone.data cfg/yolov3-tiny-drone.cfg darknet53.conv.74
:Do you notice anything strange that might be related to the problem I'm facing?
Thank you so much for your help and for sharing the tutorial
Edit
Here is a link to the avg loss plot of another run of training which gives the same problem: https://imgur.com/8IG3yO4
The text was updated successfully, but these errors were encountered: