Grad-CAM This is my Python script and I find classification issues in my CNN networks with it. Grad-CAM algorithm is used for the CNN classification part of our agricultural sorter. Here are some Grad-CAM outputs: Mung bean defects: Catalyst defects: Black-eyed pea defects: