Hi Mallika, It is indeed a non-theano specific question buy I will try to answer it nevertheless - there can be a variety of reasons you are always getting the first class e.g. if the first class is the dominant class (more number of training examples and you do not use a weight in the cost function), a good local minima for the network to learn is to output the first class all the time as it would be a good guess.
Have you tested your trained model on the training data? Best, Arjun On Mon, Sep 26, 2016 at 8:11 PM, Mallika Agarwal <[email protected]> wrote: > I suppose this isn't theano specific, let me know if I should shift the > question somewhere else. > > I am trying to perform verification for face recognition. (Binary > classification) > > I trained a CNN using ~1000 examples, and stored the model to file. > > I am now testing this on ~5000 examples. I seem to be getting something > very incorrect. When I output the probabilities from logistic regression > (for each test example I get [1.0, 0.0] this prob distribution). > > Is there a way I could check where the problem lies - in my trained > parameters or in the test method? > > Any help would be appreciated, thanks. :S > > -- > > --- > You received this message because you are subscribed to the Google Groups > "theano-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
