Reworked the labels so the shape matched pic shape and also changed format for what is passed in. DBN is now work and pretrain was successful. Now need to fine tune.