sevvaliclal commited on
Commit
75daa0c
·
verified ·
1 Parent(s): 2f6175f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -18
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: Cat vs Dog Classifier 🐱🐶 - Upload Your Image & Predict
3
  emoji: 🚀
4
- colorFrom: red
5
- colorTo: gray
6
  sdk: streamlit
7
  app_file: src/app.py
8
  sdk_version: 1.54.0
@@ -10,28 +10,63 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- # 🐱🐶 Cat vs Dog Image Classification
14
 
15
- This project is a solution to the **Kaggle Cat or Dog Image Classification Challenge**.
16
 
17
- ## Overview
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- - Build a CNN or Transfer Learning model to classify images as Cat (0) or Dog (1)
20
- - Generate `submission.csv` for Kaggle evaluation
21
 
22
- ## Dataset
 
 
 
 
 
23
 
24
- - Kaggle: [Cat or Dog Image Classification Challenge](https://www.kaggle.com/competitions/cat-or-dog-image-classification-challenge)
25
- - Dataset contains 8005 images (JPEG)
26
- - No labels provided — use pseudo-labels or pretrained models
 
 
 
 
 
 
27
 
28
- ## How to Run
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
- ### Using Kaggle Notebook
31
- 1. Load images using `ImageDataGenerator`
32
- 2. Train a CNN / TL model or use pretrained model
33
- 3. Predict and generate `submission.csv`
34
 
35
- ### Using Streamlit App
36
  ```bash
 
37
  streamlit run app.py
 
1
  ---
2
+ title: 🍔 Street Food Classifier
3
  emoji: 🚀
4
+ colorFrom: yellow
5
+ colorTo: yellow
6
  sdk: streamlit
7
  app_file: src/app.py
8
  sdk_version: 1.54.0
 
10
  license: mit
11
  ---
12
 
13
+ # 🍔 Street Food Image Classification
14
 
15
+ A Deep Learning computer vision project that classifies street food images into 10 categories using Transfer Learning.
16
 
17
+ ---
18
+
19
+ ## 📊 Dataset
20
+ - 10 classes:
21
+ - burger
22
+ - churros
23
+ - crepes
24
+ - falafel
25
+ - hot_dog
26
+ - pad_thai
27
+ - pani_puri
28
+ - pretzel
29
+ - shawarma
30
+ - tacos
31
+ - 2,287 total images
32
+ - Source: Kaggle Competition
33
 
34
+ ---
 
35
 
36
+ ## 🧠 Model Architecture
37
+ - Transfer Learning (VGG16)
38
+ - Input Size: 224x224
39
+ - GlobalAveragePooling2D
40
+ - Dense (512, ReLU)
41
+ - Output: Softmax (10 classes)
42
 
43
+ ---
44
+
45
+ ## 🚀 Training
46
+ - ImageDataGenerator
47
+ - 80% Training / 20% Validation
48
+ - Categorical Crossentropy
49
+ - Adam Optimizer
50
+
51
+ ---
52
 
53
+ ## 📦 Model Export
54
+ Model saved in `.keras` format:
55
+ street_food_model.keras
56
+
57
+
58
+ ---
59
+
60
+ ## 🌐 Deployment
61
+ This model can be deployed using:
62
+ - Streamlit
63
+ - Hugging Face Spaces
64
+ - Local Flask/Streamlit app
65
+
66
+ ---
67
 
68
+ ## ▶️ Run Locally
 
 
 
69
 
 
70
  ```bash
71
+ pip install -r requirements.txt
72
  streamlit run app.py