hank1996 commited on
Commit
80e088c
1 Parent(s): 68d30a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -85,13 +85,12 @@ def detect(img,model):
85
  if weights == 'yolop.pt':
86
  weights = 'End-to-end.pth'
87
  from lib.config import cfg
88
- from lib.config import update_config
89
- from lib.utils.utils import create_logger, select_device, time_synchronized
90
  from lib.models import get_net
91
  from lib.dataset import LoadImages, LoadStreams
92
  from lib.core.general import non_max_suppression, scale_coords
93
  from lib.utils import plot_one_box,show_seg_result
94
- from lib.core.function import AverageMeter
95
  from lib.core.postprocess import morphological_process, connect_lane
96
  from tqdm import tqdm
97
  normalize = transforms.Normalize(
 
85
  if weights == 'yolop.pt':
86
  weights = 'End-to-end.pth'
87
  from lib.config import cfg
88
+ #from lib.config import update_config
89
+ #from lib.utils.utils import create_logger, select_device, time_synchronized
90
  from lib.models import get_net
91
  from lib.dataset import LoadImages, LoadStreams
92
  from lib.core.general import non_max_suppression, scale_coords
93
  from lib.utils import plot_one_box,show_seg_result
 
94
  from lib.core.postprocess import morphological_process, connect_lane
95
  from tqdm import tqdm
96
  normalize = transforms.Normalize(