Spaces:
Running
Running
Update Yolov5_Deepsort/demo.py
Browse files- Yolov5_Deepsort/demo.py +2 -0
Yolov5_Deepsort/demo.py
CHANGED
@@ -3,6 +3,8 @@ import imutils
|
|
3 |
import rich
|
4 |
import cv2
|
5 |
import time
|
|
|
|
|
6 |
|
7 |
def main():
|
8 |
|
|
|
3 |
import rich
|
4 |
import cv2
|
5 |
import time
|
6 |
+
import torch
|
7 |
+
torch.set_default_dtype(torch.float32)
|
8 |
|
9 |
def main():
|
10 |
|