# S13 Resent Lightning ## The code in jupityer notebook [S13Lightning.ipynb](https://github.com/walnashgit/S13Lightning/blob/main/S13Lightning.ipynb) trains the ResNet model written in pytorch lightning. ## Model: [S13ResNetLightning_model](https://github.com/walnashgit/ERAV2_main/blob/main/model/S13ResNetLightning_model.py) ## Demo: https://huggingface.co/spaces/walnash/erav2s13demo ### Dependencies to install: !pip install torch-lr-finder !pip install grad-cam !pip install pytorch-lightning ### Clone the main repo for model and training code: !git clone https://github.com/walnashgit/ERAV2_main.git Follow the code in S13Lightning.ipynb for detailed code. ### LR Finder graph: image ### Training and vaidation accuracy at last epoch image ### Training Accuracy image ### Training Loss image ### Validation Accuracy image ### Validation loss image ### Miss-classified images image ### Miss-classified images with grad cam at -1 layer image