mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add time to inference to model
This commit is contained in:
parent
499458b699
commit
0f96bc55f1
1 changed files with 4 additions and 0 deletions
|
|
@ -149,6 +149,8 @@ class AutogluonAutoML:
|
|||
"time_limit",
|
||||
"presets",
|
||||
"excluded_model_types",
|
||||
"infer_limit",
|
||||
"infer_limit_batch_size",
|
||||
]
|
||||
|
||||
def load_model(self, path: Union[Path, str]) -> None:
|
||||
|
|
@ -203,6 +205,8 @@ class AutogluonAutoML:
|
|||
time_limit=model_hyperparameters["time_limit"],
|
||||
presets=model_hyperparameters["presets"],
|
||||
excluded_model_types=model_hyperparameters["excluded_model_types"],
|
||||
infer_limit=model_hyperparameters["infer_limit"],
|
||||
infer_limit_batch_size=model_hyperparameters["infer_limit_batch_size"],
|
||||
)
|
||||
|
||||
def predict(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue