cbovar / ConvNetSharp

Deep Learning in C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Durring Calculation

pshobowale opened this issue · comments

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

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