assert same number of dimensions and channels in batch as in training
assert same axis in batch as in training
Merge branch 'issue401'
use DatasetConstraintError instead of assertion when checking batch input
Merge pull request #435 from ilastik/issue401

Merged fix for #401 from bheuer