如何将我本地的 azure automl python sdk 版本与远程版本匹配?
How can I match my local azure automl python sdk version to the remote version?
我正在使用 azure automl python sdk 下载并保存模型,然后重新加载它。我收到以下错误:
anaconda3\envs\automl_21\lib\site-packages\sklearn\base.py:318: UserWarning: Trying to unpickle estimator Pipeline from version 0.22.1 when using version 0.22.2.post1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
如何确保版本匹配?
我的 Microsoft 联系人说 -
“为此,他们最好的办法可能是查看训练环境的固定位置并安装相同的引脚。他们可以通过 运行 child_run.get_environment() 然后 pip 获取该环境使用此处列出的引脚安装此处列出的所有 pkg。"
有用的代码片段。
for run in experiment.get_runs():
tags_dictionary = run.get_tags()
best_run = AutoMLRun(experiment, tags_dictionary['automl_best_child_run_id'])
env = best_run.get_environment()
print(env.python.conda_dependencies.serialize_to_string())
我正在使用 azure automl python sdk 下载并保存模型,然后重新加载它。我收到以下错误:
anaconda3\envs\automl_21\lib\site-packages\sklearn\base.py:318: UserWarning: Trying to unpickle estimator Pipeline from version 0.22.1 when using version 0.22.2.post1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
如何确保版本匹配?
我的 Microsoft 联系人说 -
“为此,他们最好的办法可能是查看训练环境的固定位置并安装相同的引脚。他们可以通过 运行 child_run.get_environment() 然后 pip 获取该环境使用此处列出的引脚安装此处列出的所有 pkg。"
有用的代码片段。
for run in experiment.get_runs():
tags_dictionary = run.get_tags()
best_run = AutoMLRun(experiment, tags_dictionary['automl_best_child_run_id'])
env = best_run.get_environment()
print(env.python.conda_dependencies.serialize_to_string())