Spaces:
Sleeping
Sleeping
Update Yolov5_Deepsort/models/common.py
Browse files
Yolov5_Deepsort/models/common.py
CHANGED
|
@@ -43,6 +43,7 @@ class Conv(nn.Module):
|
|
| 43 |
return self.act(self.bn(self.conv(x)))
|
| 44 |
|
| 45 |
def fuseforward(self, x):
|
|
|
|
| 46 |
return self.act(self.conv(x))
|
| 47 |
|
| 48 |
|
|
|
|
| 43 |
return self.act(self.bn(self.conv(x)))
|
| 44 |
|
| 45 |
def fuseforward(self, x):
|
| 46 |
+
x = x.float()
|
| 47 |
return self.act(self.conv(x))
|
| 48 |
|
| 49 |
|