Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/models/yolo.py
Browse files
Yolov5_Deepsort/models/yolo.py
CHANGED
|
@@ -9,11 +9,11 @@ from pathlib import Path
|
|
| 9 |
sys.path.append(Path(__file__).parent.parent.absolute().__str__()) # to run '$ python *.py' files in subdirectories
|
| 10 |
logger = logging.getLogger(__name__)
|
| 11 |
|
| 12 |
-
from models.common import *
|
| 13 |
-
from models.experimental import *
|
| 14 |
-
from utils.autoanchor import check_anchor_order
|
| 15 |
-
from utils.general import make_divisible, check_file, set_logging
|
| 16 |
-
from utils.torch_utils import time_synchronized, fuse_conv_and_bn, model_info, scale_img, initialize_weights, \
|
| 17 |
select_device, copy_attr
|
| 18 |
|
| 19 |
try:
|
|
|
|
| 9 |
sys.path.append(Path(__file__).parent.parent.absolute().__str__()) # to run '$ python *.py' files in subdirectories
|
| 10 |
logger = logging.getLogger(__name__)
|
| 11 |
|
| 12 |
+
from Yolov5_Deepsort.models.common import *
|
| 13 |
+
from Yolov5_Deepsort.models.experimental import *
|
| 14 |
+
from Yolov5_Deepsort.utils.autoanchor import check_anchor_order
|
| 15 |
+
from Yolov5_Deepsort.utils.general import make_divisible, check_file, set_logging
|
| 16 |
+
from Yolov5_Deepsort.utils.torch_utils import time_synchronized, fuse_conv_and_bn, model_info, scale_img, initialize_weights, \
|
| 17 |
select_device, copy_attr
|
| 18 |
|
| 19 |
try:
|