Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/AIDetector_pytorch.py
Browse files
Yolov5_Deepsort/AIDetector_pytorch.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import torch
|
2 |
import numpy as np
|
3 |
from Yolov5_Deepsort.models.experimental import attempt_load
|
4 |
-
from utils.general import non_max_suppression, scale_coords
|
5 |
-
from utils.BaseDetector import baseDet
|
6 |
-
from utils.torch_utils import select_device
|
7 |
-
from utils.datasets import letterbox
|
8 |
import rich
|
9 |
|
10 |
class Detector(baseDet):
|
|
|
1 |
import torch
|
2 |
import numpy as np
|
3 |
from Yolov5_Deepsort.models.experimental import attempt_load
|
4 |
+
from Yolov5_Deepsort.utils.general import non_max_suppression, scale_coords
|
5 |
+
from Yolov5_Deepsort.utils.BaseDetector import baseDet
|
6 |
+
from Yolov5_Deepsort.utils.torch_utils import select_device
|
7 |
+
from Yolov5_Deepsort.utils.datasets import letterbox
|
8 |
import rich
|
9 |
|
10 |
class Detector(baseDet):
|