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

network not learning #2

Open
ljstrnadiii opened this issue Jul 12, 2017 · 3 comments
Open

network not learning #2

ljstrnadiii opened this issue Jul 12, 2017 · 3 comments

Comments

@ljstrnadiii
Copy link

Hey @gokceneraslan ,

Last time Ill bug you before I build this from scratch. After many different drop out rates, learning rates, regularizations on weights, adding batch_shuffle on queue, multiplying reconstruction loss by different values (like the theano version), adding reduce mean to the softmax_cross_entropy function, and different variances on the weight initialization I have not been able to get the model to get an accuracy better than .06 although the loss seems to have converged.

When I print out the correct labels and the predicted labels, the model usually starts predicting all elements in the batch to the same thing. Meaning, by step 40-70 it begins to predict the same class across the whole batch.

Have you been able to get the accuracy up? Any suggestions?

Thanks again

@gokceneraslan
Copy link
Owner

I had similar experiences. I'm in the process of reimplementing it in keras, then I'll look into performance issues.

@gokceneraslan
Copy link
Owner

gokceneraslan commented Jul 13, 2017

I think you can play around with batchnorming the weights generated by auxnets with a small sigma and the initialization of auxnet parameters.

@ljstrnadiii
Copy link
Author

Yeah, the theano implementation uses uniform initializers.
It also normalizes the SNP data which your code does not I don't think. I'm going to try adding those two features, add batch norm after first layer of aux nets and remove last layer of auxnet to make start simple.

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