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

problems with exploding gradients in decision network #14

Open
insunday opened this issue Nov 9, 2019 · 1 comment
Open

problems with exploding gradients in decision network #14

insunday opened this issue Nov 9, 2019 · 1 comment

Comments

@insunday
Copy link

insunday commented Nov 9, 2019

Amazing algorithm. I am using this algorithm on my own dataset, there is around 600 data images and a third of them have defects. But I keep experiencing expolding gradients when training the decision network? Do you have this probelm, if so how did you solve it. Also I don't really understand why you split the data in to three folders. It that for validation or to get better results?

@skokec
Copy link
Owner

skokec commented Nov 11, 2019

Hi, we have not experience issues with the exploding gradients. Since each feature layer is normalized to 0-mean and unit scale there should not be any problems with that. You might try to reduce the learning rate or applying tf.clip_by_norm to see if this helps.

Data is split only due to small size of KolektorSDD dataset, which we could not split into train/test set without having issues with too few samples, so instead we used 3-fold cross-validation.

Best,
Domen

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

2 participants