Spaces:
Running
Running
update: display layout
Browse files
app.py
CHANGED
|
@@ -7,32 +7,28 @@ yolov8_result = os.path.join(os.getcwd(), "data/xai/yolov8.png")
|
|
| 7 |
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 |
### 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 |
|
| 33 |
|
| 34 |
-
"""
|
| 35 |
-
|
| 36 |
description_yolov8 = """
|
| 37 |
### Feature Focus Comparison
|
| 38 |
|
|
|
|
| 7 |
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 |
+
|
| 11 |
description_yolov5 = """
|
| 12 |
### Feature Focus Comparison
|
| 13 |
+
| Feature | **<span style="color:blue">Dogs</span>** | **<span style="color:green">Cats</span>** |
|
|
|
|
| 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 |
### Common Errors
|
|
|
|
| 21 |
| Issue | Description |
|
| 22 |
|-------------------|-----------------------------------|
|
| 23 |
| **Background** | Irrelevant areas confused with key features |
|
| 24 |
| **Shared Features**| Overlapping fur or body shapes causing errors |
|
|
|
|
| 25 |
### Insights:
|
| 26 |
- Visualizations help identify key traits and potential classification biases.
|
| 27 |
+
"""
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
|
|
|
|
|
|
| 32 |
description_yolov8 = """
|
| 33 |
### Feature Focus Comparison
|
| 34 |
|