yan123yan commited on
Commit
f827af4
1 Parent(s): 6b58773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -14,10 +14,15 @@ random.seed(0)
14
  each_image_name = os.listdir(image_path)
15
  random.shuffle(each_image_name)
16
 
17
- label_names = ['epiglottis', 'vocal cord', 'trachea', 'carina', 'right main bronchus', 'intermediate bronchus',
18
- 'right upper lobar bronchus', 'right middle lobar bronchus', 'right lower lobar bronchus', 'right superior segment bronchus',
19
- 'right basal bronchus', 'left main bronchus', 'left upper lobar bronchus', 'left division bronchus',
20
- 'left lingular bronchus', 'left lower bronchus', 'left superior segment', 'left basal bronchus']
 
 
 
 
 
21
 
22
  model_list = ['YOLO-V8',
23
  'YOLO-V7',
 
14
  each_image_name = os.listdir(image_path)
15
  random.shuffle(each_image_name)
16
 
17
+ # label_names = ['epiglottis', 'vocal cord', 'trachea', 'carina', 'right main bronchus', 'intermediate bronchus',
18
+ # 'right upper lobar bronchus', 'right middle lobar bronchus', 'right lower lobar bronchus', 'right superior segment bronchus',
19
+ # 'right basal bronchus', 'left main bronchus', 'left upper lobar bronchus', 'left division bronchus',
20
+ # 'left lingular bronchus', 'left lower bronchus', 'left superior segment', 'left basal bronchus']
21
+
22
+ label_names = ['Epiglottis', 'Vocal Fold', 'Trachea', 'Left Main Bronchus', 'Carina', 'Right Main Bronchus', 'Left Upper Lobar Bronchus',
23
+ 'Left Lower Bronchus', 'Right Upper Lobar Bronchus', 'Intermediate Bronchus', 'Right Lower Lobar Bronchus',
24
+ 'Left Divsion Bronchus', 'Left Lingular Bronchus', 'Left Superior Segment',
25
+ 'Left Basal Bronchus', 'Right Middle Lobar Bronchus', 'Right Basal Bronchus', 'Right Superior Segment Bronchus']
26
 
27
  model_list = ['YOLO-V8',
28
  'YOLO-V7',