A Deep Learning Based Pipeline For Image Grading Of Diabetic Retinopathy