Spaces:
Sleeping
Sleeping
change desc layout
Browse files
app.py
CHANGED
@@ -8,24 +8,25 @@ yolov5_dff = os.path.join(os.getcwd(), "data/xai/yolov5_dff.png")
|
|
8 |
yolov8_dff = os.path.join(os.getcwd(), "data/xai/yolov8_dff.png")
|
9 |
|
10 |
description_yolov5 = """
|
11 |
-
|
12 |
-
- **Face & Snout**: Eyes, nose, and mouth for recognition.
|
13 |
-
- **Ears**: Pointed or floppy shapes.
|
14 |
-
- **Body Shape**: Legs, tail, and contour.
|
15 |
-
- **Fur Texture**: Curly (poodles) or smooth (corgis).
|
16 |
-
|
17 |
-
**Feature Focus for Cats:**
|
18 |
-
- **Face & Eyes**: Sharp eyes and whiskers.
|
19 |
-
- **Ears**: Pointed for identification.
|
20 |
-
- **Body Size & Posture**: Compact shape and sitting pose.
|
21 |
-
- **Tail & Paws**: Sometimes highlighted.
|
22 |
-
|
23 |
-
**Incorrect Focus:**
|
24 |
-
- **Background**: Irrelevant areas confused with key features.
|
25 |
-
- **Shared Features**: Overlap in fur or body shape causing errors.
|
26 |
|
27 |
-
**
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"""
|
30 |
|
31 |
description_yolov8 = """
|
|
|
8 |
yolov8_dff = os.path.join(os.getcwd(), "data/xai/yolov8_dff.png")
|
9 |
|
10 |
description_yolov5 = """
|
11 |
+
### Feature Focus Comparison
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
+
| Feature | **Dogs** | **Cats** |
|
14 |
+
|-------------------|-----------------------------------|-------------------------------|
|
15 |
+
| **Face & Snout** | Eyes, nose, and mouth for recognition | Sharp eyes, whiskers |
|
16 |
+
| **Ears** | Pointed or floppy shapes | Pointed for identification |
|
17 |
+
| **Body Shape** | Legs, tail, and contour | Compact, sitting posture |
|
18 |
+
| **Fur Texture** | Curly (poodles), smooth (corgis) | N/A |
|
19 |
+
| **Tail & Paws** | N/A | Often highlighted |
|
20 |
+
|
21 |
+
### Common Errors
|
22 |
+
|
23 |
+
| Issue | Description |
|
24 |
+
|-------------------|-----------------------------------|
|
25 |
+
| **Background** | Irrelevant areas confused with key features |
|
26 |
+
| **Shared Features**| Overlapping fur or body shapes causing errors |
|
27 |
+
|
28 |
+
### Insights:
|
29 |
+
- Visualizations help identify key traits and potential classification biases.
|
30 |
"""
|
31 |
|
32 |
description_yolov8 = """
|