Lung disease recognition using a residual network