reorganization

This commit is contained in:
Roberto Treviño Cervantes
2026-10-31 12:48:09 -06:00
parent 6e8ed1003d
commit f9d3b8f67e
2 changed files with 17 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ def inspect_onnx_metadata(path: str | Path) -> dict[str, Any]:
try:
model = onnx.load(str(path))
onnx.checker.check_model(model)
except Exception as exc:
raise ValueError(f"no es un modelo ONNX válido: {exc}") from exc
return {