Open barzan-hayati opened 4 years ago
Try to train this model https://raw.githubusercontent.com/AlexeyAB/darknet/master/cfg/yolov3-tiny-prn.cfg with
[net]
width=160
height=32
Also why did you use batch_normalize=0
?
Try to train this model https://raw.githubusercontent.com/AlexeyAB/darknet/master/cfg/yolov3-tiny-prn.cfg with
[net] width=160 height=32
Also why did you use
batch_normalize=0
?
Thanks a lot. I used YOLO-Lite a very simple and fast version of Yolo-TinyV2.
In this network batch_normalize=0
and after training network, I sould convert it to TRT engine via Deep-Stream. Deep-Stream needs to has a square grid cells like 7x7, 9x9 and so on(In order to convert to TRT engines). I think with
width=160
height=32
It's impossible to have a square grid size. Am I right?
In this case try to use this model https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov3-tiny.cfg with
[net]
width=160
height=160
Yolo is natively supported in DeepStream 4.0 (TRT engine via Deep-Stream): https://news.developer.nvidia.com/deepstream-sdk-4-now-available/
batch_normalize=1
will be fused into convolutional-layer by TRT so it will not decrease speed of inference.
In this case try to use this model https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov3-tiny.cfg with
[net] width=160 height=160
Yolo is natively supported in DeepStream 4.0 (TRT engine via Deep-Stream): https://news.developer.nvidia.com/deepstream-sdk-4-now-available/
batch_normalize=1
will be fused into convolutional-layer by TRT so it will not decrease speed of inference.
I'll train YoloV3-tiny network and report results here. So I keep this issue open. Thanks for your guidance.
@barzan-hayati
As you are dealing with small objects, if you have not controlled it yet, one reason may be the problem mentioned in #4404.
@barzan-hayati
As you are dealing with small objects, if you have not controlled it yet, one reason may be the problem mentioned in #4404.
Yes. My objects are small but they are not too small respect to size of plate. I want to find characters in plates and size of a plate in a image varied from 80x20
to 160x30
.
Thanks.
@barzan-hayati
As you are dealing with small objects, if you have not controlled it yet, one reason may be the problem mentioned in #4404.
I think those objects are near to the margin of image, also could be detected correctly. Thanks
YoloV3-Tiny has very good results, but it's too heavy for final solution, because it has 24 layers also has more than 10 times BFLOPS respect to Yolo-Lite. I need to use 3 networks and real time solution so I should use lighter version. If I increase input resolution(from 224 to 288 or more) I'll receive better results or not?
Hi @AlexeyAB . I have a dataset for Licence Plate Recognition(Persian) and I want to do that via YOLO and object detection by your repository. Here I show a sample of my dataset(139x29 pixels):
In first step and for simplicity I want to detect digits(from 1 to 9) so I have a 9 class object detection. approximately I have a good dataset, since from all digits I have at least 2000 objects in all images.
First Problem: But I have a problem in training process.
CFG:
Training started from 123700 and here I show
map
results in multiple steps(I don't show results before 280000):As you see,
avg loss
oscillates andmAP
doesn't improve anymore. Maximum value ofmAP
was ~73 also avg loss doesn't reach less than 0.3. So I need to test results forbest state
ofmAP
.Low value of
average IoU = 51.81 %
worried me andFP's
are high.Second Problem: Results of detection for input plate:
As you could see, two samlpe of
**9**
has been detected, and if I setthreshold=0.6
I'll miss**6,7,2**
.Main Quesition:
Is it possible to reach avg loss less than 0.1? Should I continue to training?
Thanks in advance.