Yolov-4 icon indicating copy to clipboard operation
Yolov-4 copied to clipboard

Training issues

Open daiisuke27 opened this issue 4 years ago • 3 comments

Hello, i am running your code on Colab.

  • My issue is that i am getting nan values in the training process.

image

  • I want also to know how do you define the logs keys, because i want to show the obj_loss and class_loss values in callbacks, but i cant find a way to do it.

Thank you.

daiisuke27 avatar Jul 01 '20 10:07 daiisuke27

hello,

1/ which training set do you use ? I never get nan

2/ my loss fucntion returns only xy_loss + wh_loss +obj_loss +class_loss , so you can't get only obj_loss or class_loss, why do you need them ?

RobotEdh avatar Jul 02 '20 22:07 RobotEdh

in fact, regrading the nan issue, i have the same error when i activate GPU. but in in this case i have also error to allocate memory for convolution redzone , maybe it is the root cause of the nan

RobotEdh avatar Jul 02 '20 22:07 RobotEdh

I have comitted a fix, you can try again

RobotEdh avatar Jul 11 '20 16:07 RobotEdh