Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/utils/loss.py
Browse files
Yolov5_Deepsort/utils/loss.py
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
import torch
|
4 |
import torch.nn as nn
|
5 |
|
6 |
-
from utils.general import bbox_iou
|
7 |
-
from utils.torch_utils import is_parallel
|
8 |
|
9 |
|
10 |
def smooth_BCE(eps=0.1): # https://github.com/ultralytics/yolov3/issues/238#issuecomment-598028441
|
|
|
3 |
import torch
|
4 |
import torch.nn as nn
|
5 |
|
6 |
+
from Yolov5_Deepsort.utils.general import bbox_iou
|
7 |
+
from Yolov5_Deepsort.utils.torch_utils import is_parallel
|
8 |
|
9 |
|
10 |
def smooth_BCE(eps=0.1): # https://github.com/ultralytics/yolov3/issues/238#issuecomment-598028441
|