Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Problem #3

Open
huunhan312 opened this issue Oct 18, 2019 · 1 comment
Open

Training Problem #3

huunhan312 opened this issue Oct 18, 2019 · 1 comment

Comments

@huunhan312
Copy link

Dear azmathmoosa,

I find that your training is good for one object. So I want to train your configuration on my custom object. However, I got problem with NAN of average loss.

I train by this way:

I tested with batch size of 32, 64 and learning rate 0.001, 0.0005. After about 50 iterations, I got NAN average loss.
I do the same thing but with yolov2-tiny, yolov3-tiny (of course, tuning from published weights), darknet can train well.

Could you share your ideas about this problem? And Did you do any special steps to train your model for face detection.

Thank you

@huunhan312
Copy link
Author

huunhan312 commented Oct 18, 2019

Oh, maybe I got the solution now. We need to make the weight factors only for needed convolution layers. I used partial parameter to make that weight factors and it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant