remove unneeded formats

pull/13506/head
Edward Yang 2025-02-03 10:32:39 +11:00
parent bc8597b9d1
commit 88104d4631
1 changed files with 1 additions and 1 deletions

View File

@ -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