better support for variable size batches
better error message
Merge branch 'master' of github.com:lisa-lab/pylearn2
Merge pull request #235 from goodfeli/master

Fix variable batch size issue