mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-26 03:00:54 +00:00
Load the model path correctly (#6369)
This commit is contained in:
parent
99a38f4023
commit
98cc7b5a9e
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ def load_model(model_path: Path, optimize=True):
|
|||
onnx_model.replace_gemm_with_matmul()
|
||||
return onnx_model.model
|
||||
|
||||
return onnx.load(Path)
|
||||
return onnx.load(Path(model_path))
|
||||
|
||||
|
||||
def quantize(model,
|
||||
|
|
|
|||
Loading…
Reference in a new issue