Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,48 +31,44 @@ architecture_description_yolov8s = """
|
|
31 |
"""
|
32 |
|
33 |
description_yolov5 = """
|
34 |
-
|
35 |
-
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
#### **4. Insights:**
|
54 |
-
- The visualizations explain **why the model classifies certain parts as important** for distinguishing dogs and cats.
|
55 |
-
- They highlight **potential biases** or areas for improvement, e.g., reliance on shared features instead of species-specific traits.
|
56 |
"""
|
57 |
|
58 |
description_yolov8 = """
|
59 |
|
60 |
-
|
61 |
- **Facial Features:** Strong emphasis on **eyes, nose, and mouth**, aiding in species identification.
|
62 |
- **Ears and Fur Texture:** Highlights distinctive **fluffy or smooth fur patterns** and **ear shapes** (pointed or floppy).
|
63 |
- **Body and Legs:** Focus on the **overall contour, legs, and tails**, distinguishing body structures of breeds like poodles and corgis.
|
64 |
|
65 |
-
|
66 |
- **Face and Eyes:** Sharp focus on **eyes and whiskers**, key characteristics of feline features.
|
67 |
- **Body Shape and Tail:** Emphasizes the **compact size and tail curvature**.
|
68 |
- **Paws and Posture:** Captures sitting postures and detailed paw structures.
|
69 |
|
70 |
-
|
71 |
- **Background Highlights:** Some heatmaps show attention to **background regions**, leading to irrelevant feature extraction.
|
72 |
- **Shared Features:** Overlapping fur patterns and body structures between dogs and cats occasionally result in misclassification risks.
|
73 |
- **Edge and Border Effects:** Emphasis on **image boundaries** could reflect dataset biases during training.
|
74 |
|
75 |
-
|
76 |
- Refinements, such as **attention-based mechanisms**, can improve focus on discriminative features and reduce errors.
|
77 |
"""
|
78 |
|
|
|
31 |
"""
|
32 |
|
33 |
description_yolov5 = """
|
34 |
+
**Feature Focus for Dogs:**
|
35 |
+
- **Face & Snout**: Eyes, nose, and mouth for recognition.
|
36 |
+
- **Ears**: Pointed or floppy shapes.
|
37 |
+
- **Body Shape**: Legs, tail, and contour.
|
38 |
+
- **Fur Texture**: Curly (poodles) or smooth (corgis).
|
39 |
+
|
40 |
+
**Feature Focus for Cats:**
|
41 |
+
- **Face & Eyes**: Sharp eyes and whiskers.
|
42 |
+
- **Ears**: Pointed for identification.
|
43 |
+
- **Body Size & Posture**: Compact shape and sitting pose.
|
44 |
+
- **Tail & Paws**: Sometimes highlighted.
|
45 |
+
|
46 |
+
**Incorrect Focus:**
|
47 |
+
- **Background**: Irrelevant areas confused with key features.
|
48 |
+
- **Shared Features**: Overlap in fur or body shape causing errors.
|
49 |
+
|
50 |
+
**Insights:**
|
51 |
+
- Visualizations reveal important traits for classification, showing potential biases or areas for improvement.
|
|
|
|
|
|
|
|
|
52 |
"""
|
53 |
|
54 |
description_yolov8 = """
|
55 |
|
56 |
+
**Feature Focus for Dogs:**
|
57 |
- **Facial Features:** Strong emphasis on **eyes, nose, and mouth**, aiding in species identification.
|
58 |
- **Ears and Fur Texture:** Highlights distinctive **fluffy or smooth fur patterns** and **ear shapes** (pointed or floppy).
|
59 |
- **Body and Legs:** Focus on the **overall contour, legs, and tails**, distinguishing body structures of breeds like poodles and corgis.
|
60 |
|
61 |
+
**Feature Focus for Cats:**
|
62 |
- **Face and Eyes:** Sharp focus on **eyes and whiskers**, key characteristics of feline features.
|
63 |
- **Body Shape and Tail:** Emphasizes the **compact size and tail curvature**.
|
64 |
- **Paws and Posture:** Captures sitting postures and detailed paw structures.
|
65 |
|
66 |
+
**Incorrect Focus:**
|
67 |
- **Background Highlights:** Some heatmaps show attention to **background regions**, leading to irrelevant feature extraction.
|
68 |
- **Shared Features:** Overlapping fur patterns and body structures between dogs and cats occasionally result in misclassification risks.
|
69 |
- **Edge and Border Effects:** Emphasis on **image boundaries** could reflect dataset biases during training.
|
70 |
|
71 |
+
**Insights:**
|
72 |
- Refinements, such as **attention-based mechanisms**, can improve focus on discriminative features and reduce errors.
|
73 |
"""
|
74 |
|