yolor icon indicating copy to clipboard operation
yolor copied to clipboard

Precious and recall are 0

Open GreenHandForCoding opened this issue 2 years ago • 4 comments

使用的数据集是我在yolov5使用过的,在yolor中训练时很多参数都为0

GreenHandForCoding avatar May 23 '22 05:05 GreenHandForCoding

Can you give more info? It could take some time before the model actually starts learning. Max I've had was around 10 epochs before it started.

Swearinbag avatar May 24 '22 23:05 Swearinbag

I also have this problem. 截屏2022-05-26 00 13 26

JYSKKwithm avatar May 25 '22 21:05 JYSKKwithm

You need to change "class" and "filter" parameter in cfg file. filter = (number of class + 5)*3

nhatanh174 avatar May 27 '22 08:05 nhatanh174

What @nhatanh174 said is indeed very important- but it could also be that your model just has a lot to learn and can take some time to do this. wait for 20 epochs and if nothing changes with the precision and recall you could look for other issues :) Also be sure that input size is somewhat near the "img_size" given to the model. I've observed that a lot of stretching/rescaling is very non beneficial to the training performance.

Swearinbag avatar May 30 '22 14:05 Swearinbag