BhumikaMak commited on
Commit
7df80ac
·
verified ·
1 Parent(s): 84bccf4

change desc layout

Browse files
Files changed (1) hide show
  1. app.py +18 -17
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
- **Feature Focus for Dogs:**
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
- **Insights:**
28
- - Visualizations reveal important traits for classification, showing potential biases or areas for improvement.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = """