DineshKumar1329 commited on
Commit
f0ebf06
·
verified ·
1 Parent(s): 741c189

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -9,3 +9,28 @@ tags:
9
  - code
10
  ---
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  - code
10
  ---
11
 
12
+
13
+
14
+ # Dog and Cat Classification using DeepLearning
15
+ - Implementing a deep learning pipeline for classifying images of cats and dogs using the PyTorch framework. It begins by preparing a dataset, visualizing class distributions, and splitting data into training and testing sets. Image preprocessing involves resizing, random transformations, and normalization.
16
+
17
+ - The model architecture utilizes a pretrained ResNet-18 with the final layer adapted for binary classification (cats vs. dogs). Training involves defining a loss function (CrossEntropyLoss), an optimizer (Adam), and a learning rate scheduler. The training loop iterates through epochs, evaluating performance with training loss plotted over epochs.
18
+
19
+ - After training, the model is evaluated on a test set to compute accuracy, achieving approximately 90.27% accuracy in this case. Trained model parameters are saved for future use. Inference capabilities include loading a single image, preprocessing it for prediction, and using the model to classify it as a cat or dog, with visualization of the prediction.
20
+
21
+ - The code's modularity, utilizing PyTorch's DataLoader for efficient batch processing and GPU acceleration if available. Visualization tools such as matplotlib and seaborn aid in understanding dataset characteristics and model performance. Overall, it provides a robust framework for training and deploying a deep learning model for binary image classification tasks.
22
+
23
+ # Contributors
24
+ - S.Dinesh Kumar
25
+ - Y.Gokul
26
+ ### Panimalar Engineering College Chennai
27
+ ## References:
28
+ https://www.geeksforgeeks.org/cat-dog-classification-using-convolutional-neural-network-in-python/
29
+ https://pytorch.org/vision/stable/index.html
30
+ http://pytorch.org/vision/stable/models.html
31
+ ## Support:
32
+ - Mr.Kanav Bansal Cheif DataScientist (Innomatics Research Labs)
33
+ # DataSet
34
+ https://huggingface.co/datasets/microsoft/cats_vs_dogs
35
+
36
+