scripts to train basic dnn