Training and Understanding Deep Neural Networks for Robotics, Design, and Visual Perception