Actually there is another tutorial to how manually do layerwise pretraining: http://deeplearning.net/software/pylearn2/tutorial/notebook_tutorials.html#notebook-tutorials