Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,12 @@ from numpy import random
|
|
22 |
#scale_coords, xyxy2xywh, strip_optimizer, set_logging, increment_path
|
23 |
#from utils.plots import plot_one_box
|
24 |
#from utils.torch_utils import select_device, load_classifier, time_synchronized, TracedModel
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
from PIL import Image
|
28 |
|
|
|
22 |
#scale_coords, xyxy2xywh, strip_optimizer, set_logging, increment_path
|
23 |
#from utils.plots import plot_one_box
|
24 |
#from utils.torch_utils import select_device, load_classifier, time_synchronized, TracedModel
|
25 |
+
from utils.functions import \
|
26 |
+
time_synchronized,select_device, increment_path,\
|
27 |
+
scale_coords,xyxy2xywh,non_max_suppression,split_for_trace_model,\
|
28 |
+
driving_area_mask,lane_line_mask,plot_one_box,show_seg_result,\
|
29 |
+
AverageMeter,\
|
30 |
+
LoadImages
|
31 |
|
32 |
from PIL import Image
|
33 |
|