Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/models/common.py
Browse files
Yolov5_Deepsort/models/common.py
CHANGED
@@ -12,10 +12,10 @@ import torch.nn as nn
|
|
12 |
from PIL import Image
|
13 |
from torch.cuda import amp
|
14 |
|
15 |
-
from utils.datasets import letterbox
|
16 |
-
from utils.general import non_max_suppression, make_divisible, scale_coords, increment_path, xyxy2xywh, save_one_box
|
17 |
-
from utils.plots import colors, plot_one_box
|
18 |
-
from utils.torch_utils import time_synchronized
|
19 |
|
20 |
|
21 |
def autopad(k, p=None): # kernel, padding
|
|
|
12 |
from PIL import Image
|
13 |
from torch.cuda import amp
|
14 |
|
15 |
+
from Yolov5_Deepsort.utils.datasets import letterbox
|
16 |
+
from Yolov5_Deepsort.utils.general import non_max_suppression, make_divisible, scale_coords, increment_path, xyxy2xywh, save_one_box
|
17 |
+
from Yolov5_Deepsort.utils.plots import colors, plot_one_box
|
18 |
+
from Yolov5_Deepsort.utils.torch_utils import time_synchronized
|
19 |
|
20 |
|
21 |
def autopad(k, p=None): # kernel, padding
|