Hey guys, I have a CNN which I train using Lasagne. Now I have a different number of positive classes, let's say 5. And I have one negative class, let's call it background. Currently, my background-class has way more samples than my positive classes, i.e. there's 1000 negative samples with 100 positive samples per class. I want to use a batch size of 40 and evenly distribute positive samples (20 positive samples) and negative samples (20 negative samples), so my batch size is always 40 samples. For this I know that I need to train some positive samples multiple times while avoiding the same for negative samples. How do I achieve something like this with Theano? Thanks a lot in advance!
-- --- 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.
