Mixed updates and improvements.
This commit is contained in:
@ -20,6 +20,7 @@ class BaseModel(ABC):
|
||||
raise FileNotFoundError("File not found:", model_path)
|
||||
|
||||
if model_path.endswith(".onnx"):
|
||||
print("Loading model:", model_path)
|
||||
self.init_onnxruntime(model_path)
|
||||
self.runtime = "ort"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user