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

problem about model prediction #1

Open
rezazad68 opened this issue Mar 1, 2017 · 2 comments
Open

problem about model prediction #1

rezazad68 opened this issue Mar 1, 2017 · 2 comments

Comments

@rezazad68
Copy link

hello, at first, thank for your contribution and nice work

I got a problem about model prediction, just trained model with 10 epochs, after training model, when I used model.predict on whole validation set I got all same value for each sample of validation set (returned value for each class on each sample of validation is : 0.250, 0.251, 0.250, 0.250 )
does it right value? actually it assign any new sample to second class.

it would be great if u can help me
with regards

@royaljain
Copy link

Too late I think but if someone else stumbles upon this, here's what solved this for me -

Initially the values are pretty low and THresholdRelu layer clips them back to 0 and hence we get same output for everything

@chaitjo
Copy link
Contributor

chaitjo commented Jan 31, 2018

@royaljain What did you do to solve the problem? A different activation function to the ThresholdReLU?

mhjabreel pushed a commit that referenced this issue Oct 20, 2018
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

3 participants