faceboxes icon indicating copy to clipboard operation
faceboxes copied to clipboard

Convergence speed of the network?

Open twmht opened this issue 6 years ago • 12 comments

I tried to train the network with WIDERFACE, But I found that it's difficult to converge.

after the several epochs, both the precision and recall are less than 1%, did you have the similar problem?

it seems that the paper work is trained at least 200 epochs, did you train such a long epochs?

I tried to mask the small face of the training data (https://github.com/zeusees/FaceBoxes), but it does not speed up the training.

twmht avatar Oct 04 '18 15:10 twmht

The number of training epochs is 300 which is same as the paper. In the paper, the author did not mention the mask. so I did not try it.

XiaXuehai avatar Oct 08 '18 02:10 XiaXuehai

@twmht I find the loss is still about 3.0 after 100 epochs. I don't know if you are also this problem. Have you finished the training? Is that normal? Looking forward your reply! Thanks!

xtanitfy avatar Dec 23 '18 14:12 xtanitfy

@twmht I find the loss is still about 3.0 after 100 epochs. I don't know if you are also this problem. Have you finished the training? Is that normal? Looking forward your reply! Thanks! I also meet the problem. Have u solved it?

laidy3 avatar Dec 27 '18 12:12 laidy3

It seems like the weights have been finished.You can use the demo to test pictures by using the weights.

xtanitfy avatar Dec 27 '18 12:12 xtanitfy

@twmht How about train from sratch?

laidy3 avatar Dec 27 '18 12:12 laidy3

@laidy3

I trained from scatch, do I need to use a pretrained weight?

twmht avatar Dec 27 '18 12:12 twmht

@twmht I think it doesn’tneed. How about the preformence of traing from scatch?

laidy3 avatar Dec 27 '18 13:12 laidy3

@laidy3

since the convergence is slow, So I stop training early at 1xx epochs. I forgot the performance, it's very low.

twmht avatar Dec 27 '18 13:12 twmht

@laidy3

Did you tried to train from scratch? how about the performance?

twmht avatar Dec 27 '18 13:12 twmht

@twmht Xavier init, 12 hours, batch size 128, 145 epochs, val loss= 5.22

laidy3 avatar Dec 28 '18 01:12 laidy3

image 150-300 epoch of my training loss.

XiaXuehai avatar Dec 29 '18 02:12 XiaXuehai

@XiaXuehai @laidy3 So, how does the inference result

lucasjinreal avatar Jan 30 '19 02:01 lucasjinreal