Training Hierarchical Feed-Forward Visual Recognition Models Using Transfer Learning from Pseudo-Tasks