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

Error Durring Calculation #104

Open
pshobowale opened this issue Mar 27, 2018 · 1 comment
Open

Error Durring Calculation #104

pshobowale opened this issue Mar 27, 2018 · 1 comment

Comments

@pshobowale
Copy link

Currently I am trying to use this framework for image recognition, but after a while I get the exeption "Error during claculation". The sgd trainer increased the gradients until the gradients of one layer reached neagtive infintity as far as I saw.
Projekt_NN_Conv_Net.zip

@cbovar
Copy link
Owner

cbovar commented Mar 28, 2018

Hi,

I think that you are not giving one-hot encoded labels as Y while training.
i.e. LabelVolume should have a shape of [1, 1, NumberOfCategories, BatchSize] like it is done in this Classify2DExample

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