sshi commited on
Commit
0a48b8a
·
1 Parent(s): 6d9e76a

App bug fix.

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -84,17 +84,17 @@ model_yolos.eval()
84
 
85
  # colors for visualization
86
  colors = [
87
- [0.000, 0.447, 0.741],
88
- [0.850, 0.325, 0.098],
89
- [0.929, 0.694, 0.125],
90
- [0.756, 0.794, 0.100],
91
- [0.466, 0.674, 0.188],
92
- [0.301, 0.745, 0.933],
93
- [0.184, 0.494, 0.741],
94
- [0.494, 0.674, 0.556],
95
- [0.494, 0.301, 0.933],
96
- [0.000, 0.325, 0.850],
97
- [0.745, 0.301, 0.188]]
98
 
99
  # for output bounding box post-processing
100
  def box_cxcywh_to_xyxy(x):
 
84
 
85
  # colors for visualization
86
  colors = [
87
+ [ 0, 113, 188,],
88
+ [216, 82, 24,],
89
+ [236, 176, 31,],
90
+ [192, 202, 25,],
91
+ [118, 171, 47,],
92
+ [ 76, 189, 237,],
93
+ [ 46, 125, 188,],
94
+ [125, 171, 141,],
95
+ [125, 76, 237,],
96
+ [ 0, 82, 216,],
97
+ [189, 76, 47,]]
98
 
99
  # for output bounding box post-processing
100
  def box_cxcywh_to_xyxy(x):