Ashutoshpatil4902/SE01-PR-2026-Phase-II--III-Product-Image-classification-Ashutosh-Patil- ? reverse-engineered prompt

Reverse engineered prompt

Build me an end to end image classifier for e commerce product photos that can sort images into 9 categories like grocery, electronics, clothing, home and kitchen, beauty, sports, baby products, hobby, and pet supplies.

I want it to train and compare a simple custom CNN plus two transfer learning models, one based on MobileNetV2 and one based on ResNet50. Please include the full workflow, loading the image folders, resizing and normalizing the images, splitting the data into train, validation, and test sets, training with augmentation, and showing the final accuracy and other useful results.

I also want the predictions to be explainable, so add Grad CAM visualizations and SHAP style heatmaps that show what parts of the image influenced the model. If you need current docs or examples for anything, look them up online. Make it runnable in a notebook first, since that is the easiest way for me to follow along and test it.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab