remove unneeded formats
parent
bc8597b9d1
commit
88104d4631
|
@ -389,7 +389,7 @@ class DetectMultiBackend(nn.Module):
|
|||
|
||||
super().__init__()
|
||||
w = str(weights[0] if isinstance(weights, list) else weights)
|
||||
pt, jit, onnx, xml, engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, paddle, triton = self._model_type(w)
|
||||
pt, onnx, xml, engine, triton = self._model_type(w)
|
||||
fp16 &= pt or jit or onnx or engine # FP16
|
||||
nhwc = coreml or saved_model or pb or tflite or edgetpu # BHWC formats (vs torch BCWH)
|
||||
stride = 32 # default stride
|
||||
|
|
Loading…
Reference in New Issue