pyesonekyaw
commited on
Commit
•
7f71b29
1
Parent(s):
550063f
bug fix
Browse files- models/common.py +1 -1
models/common.py
CHANGED
@@ -315,7 +315,7 @@ class DetectMultiBackend(nn.Module):
|
|
315 |
super().__init__()
|
316 |
w = str(weights[0] if isinstance(weights, list) else weights)
|
317 |
pt = self._model_type(w)[0]
|
318 |
-
fp16 =
|
319 |
nhwc = False # BHWC formats (vs torch BCWH)
|
320 |
stride = 32 # default stride
|
321 |
cuda = torch.cuda.is_available() and device.type != 'cpu' # use CUDA
|
|
|
315 |
super().__init__()
|
316 |
w = str(weights[0] if isinstance(weights, list) else weights)
|
317 |
pt = self._model_type(w)[0]
|
318 |
+
fp16 = False # FP16
|
319 |
nhwc = False # BHWC formats (vs torch BCWH)
|
320 |
stride = 32 # default stride
|
321 |
cuda = torch.cuda.is_available() and device.type != 'cpu' # use CUDA
|