small change to dbn demo train