remove suffix check

pull/13506/head
Edward Yang 2025-02-03 10:28:04 +11:00
parent e79d86d7ba
commit 8f80b15329
1 changed files with 0 additions and 2 deletions

View File

@ -659,8 +659,6 @@ class DetectMultiBackend(nn.Module):
from export import export_formats
from utils.downloads import is_url
sf = list(export_formats().Suffix) # export suffixes
if not is_url(p, check=False):
check_suffix(p, sf) # checks
url = urlparse(p) # if url may be Triton inference server
types = [s in Path(p).name for s in sf]
types[8] &= not types[9] # tflite &= not edgetpu