Skip to content

Commit 1ca7a59

Browse files
author
j-so
committed
fix import
1 parent 743e301 commit 1ca7a59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

diabetes_regression/evaluate/evaluate_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from azureml.core import Run
2727
import argparse
2828
import traceback
29-
from util.model_helper import get_latest_model
29+
from util.model_helper import get_model
3030

3131
run = Run.get_context()
3232

@@ -45,7 +45,7 @@
4545
# sources_dir = 'diabetes_regression'
4646
# path_to_util = os.path.join(".", sources_dir, "util")
4747
# sys.path.append(os.path.abspath(path_to_util)) # NOQA: E402
48-
# from model_helper import get_latest_model
48+
# from model_helper import get_model
4949
# workspace_name = os.environ.get("WORKSPACE_NAME")
5050
# experiment_name = os.environ.get("EXPERIMENT_NAME")
5151
# resource_group = os.environ.get("RESOURCE_GROUP")
@@ -108,7 +108,7 @@
108108
firstRegistration = False
109109
tag_name = 'experiment_name'
110110

111-
model = get_latest_model(
111+
model = get_model(
112112
model_name=model_name,
113113
tag_name=tag_name,
114114
tag_value=exp.name,

0 commit comments

Comments
 (0)