SandraKorol commited on
Commit
2e58050
Β·
verified Β·
1 Parent(s): a397a91

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -6
README.md CHANGED
@@ -65,24 +65,39 @@ Dataset split:
65
 
66
  ## Model Architecture
67
 
68
- The project uses **EfficientNet-B0** as the backbone network.
69
-
70
- Pipeline:
71
 
72
  ```text
73
  Image
74
  ↓
75
- Image Processor
 
 
76
  ↓
77
  EfficientNet-B0
78
  ↓
79
  Classification Head
80
  ↓
81
- Syrnyk / Other Cat
82
  ```
83
 
84
- The model was trained using transfer learning.
 
 
 
 
85
 
 
 
 
 
 
 
 
 
 
 
 
86
  ---
87
 
88
  ## Results
 
65
 
66
  ## Model Architecture
67
 
68
+ The project uses a two-stage pipeline:
 
 
69
 
70
  ```text
71
  Image
72
  ↓
73
+ DETR Object Detector
74
+ ↓
75
+ Cat Detection
76
  ↓
77
  EfficientNet-B0
78
  ↓
79
  Classification Head
80
  ↓
81
+ Naughty Cat / Other Cat
82
  ```
83
 
84
+ ### Stage 1: Object Detection
85
+
86
+ The system first uses **DETR (DEtection TRansformer)** (`facebook/detr-resnet-50`) to determine whether a cat is present in the image.
87
+
88
+ Possible outcomes:
89
 
90
+ - Cat detected β†’ continue to classification
91
+ - No cat detected β†’ return a warning message
92
+
93
+ ### Stage 2: Cat Classification
94
+
95
+ If a cat is detected, the image is passed to an **EfficientNet-B0** classifier trained using transfer learning.
96
+
97
+ The classifier predicts one of two classes:
98
+
99
+ - Naughty Cat
100
+ - Other Cat
101
  ---
102
 
103
  ## Results