Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/utils/datasets.py
Browse files
Yolov5_Deepsort/utils/datasets.py
CHANGED
@@ -20,9 +20,9 @@ from PIL import Image, ExifTags
|
|
20 |
from torch.utils.data import Dataset
|
21 |
from tqdm import tqdm
|
22 |
|
23 |
-
from utils.general import check_requirements, xyxy2xywh, xywh2xyxy, xywhn2xyxy, xyn2xy, segment2box, segments2boxes, \
|
24 |
resample_segments, clean_str
|
25 |
-
from utils.torch_utils import torch_distributed_zero_first
|
26 |
|
27 |
# Parameters
|
28 |
help_url = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|
|
|
20 |
from torch.utils.data import Dataset
|
21 |
from tqdm import tqdm
|
22 |
|
23 |
+
from Yolov5_Deepsort.utils.general import check_requirements, xyxy2xywh, xywh2xyxy, xywhn2xyxy, xyn2xy, segment2box, segments2boxes, \
|
24 |
resample_segments, clean_str
|
25 |
+
from Yolov5_Deepsort.utils.torch_utils import torch_distributed_zero_first
|
26 |
|
27 |
# Parameters
|
28 |
help_url = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|