Learning Hyperparameters For Inverse Problems By Deep Neural Networks