simpler defaults in dnn.py