yolov5-face icon indicating copy to clipboard operation
yolov5-face copied to clipboard

训练阶段Class Images Targets P R [email protected] [email protected]:.95: 100%|都是0,怎么解决

Open wuxiaolianggit opened this issue 3 years ago • 7 comments

大佬您好,我再训练数据的时候,Class Images Targets P R [email protected] [email protected]:.95: 100%|,这些值都是0,这个该怎么解决啊 @djmmoss @muhammad-tayyab @hylrh2008 @bobo0810 @wjtan99

wuxiaolianggit avatar Jul 13 '22 01:07 wuxiaolianggit

抱歉,我没训练过,无法给出建议。

bobo0810 avatar Jul 13 '22 02:07 bobo0810

大佬可以回复我,已经很感谢了啊 @bobo0810 ,我再研究研究。

wuxiaolianggit avatar Jul 13 '22 02:07 wuxiaolianggit

先检查下训练数据是否有问题,包括数据格式

derronqi avatar Jul 14 '22 07:07 derronqi

@bobo0810 训练每隔多久评估一次呢

APeiZou avatar Jul 29 '22 02:07 APeiZou

请问解决这个问题了吗@wuxiaolianggit

moonbubbles avatar Jul 29 '22 08:07 moonbubbles

@bobo0810 训练每隔多久评估一次呢

抱歉,我没训练过,无法给出建议。

bobo0810 avatar Jul 29 '22 08:07 bobo0810

@wuxiaolianggit This is because at line 330 of train.py if rank in [-1, 0] and epoch > 20: So in the first 20 epochs, there is no validation, checkpoint saving, etc. Change this to epoch>=0.

wjtan99 avatar Aug 19 '22 15:08 wjtan99