【发布时间】:2020-09-06 11:21:13
【问题描述】:
我已经在 ACI 中部署了一个模型,现在我想更改我的 web 服务的 Scoring.py 文件。我试过下面的代码,但它给了我错误
inf_conf = InferenceConfig(entry_script="dcp_pi_main_scoring.py")
#service_name = 'binary-test'
# Retrieve existing service.
service = Webservice(name='binary-test', workspace=ws)
service.update(inference_config=inf_conf)
service.wait_for_deployment(show_output=True)
上面的代码给我错误:
AttributeError: 'NoneType' object has no attribute 'lower'
谁能帮我解决这个问题
【问题讨论】:
-
能否请您添加有关入口脚本文件以及您正在尝试更新的更多详细信息。
-
感谢您的回复.. 好的,我会尝试这个,您是否在上面的代码中看到任何错误以及错误是什么
标签: python python-3.x azure azure-machine-learning-studio