【问题标题】:Are Machine Learning Studios's web services public?机器学习工作室的网络服务是公开的吗?
【发布时间】:2020-08-15 12:11:48
【问题描述】:

我在机器学习工作室中创建了一个实验并将其部署为网络服务。我的工作区中有一个可以工作的请求-响应 API。其他人也可以使用吗?

【问题讨论】:

  • 您能否添加有关您已配置的部署设置的更多详细信息?

标签: azure web-services machine-learning azure-machine-learning-studio


【解决方案1】:

当您部署模型时,会返回一个 Webservice 对象,其中包含有关该服务的信息。

from azureml.core.webservice import AciWebservice, Webservice
from azureml.core.model import Model

deployment_config = AciWebservice.deploy_configuration(cpu_cores = 3, memory_gb = 15, location = "centralus")
service = Model.deploy(ws, "aciservice", [model], inference_config, deployment_config)
service.wait_for_deployment(show_output = True)
print(service.state)

请按照以下说明使用部署为 Web 服务的 Azure 机器学习模型 https://docs.microsoft.com/en-us/azure/machine-learning/how-to-consume-web-service

【讨论】:

    猜你喜欢
    • 2017-06-25
    • 1970-01-01
    • 2020-12-29
    • 1970-01-01
    • 2017-06-24
    • 2018-06-17
    • 2022-07-20
    • 2020-08-19
    • 1970-01-01
    相关资源
    最近更新 更多