Build deep learning code ready to train and test.
Recent revisions are kept. Restoring one creates a new revision.