简体   繁体   English

Azure Devops:在 Devops 管道任务中通过 Azure CLI 进行模型注册和打包

[英]Azure Devops: Model Register and package through Azure CLI in Devops pipeline Task

While Registering the model in Azure devops pipeline task through Inline script, its giving below issue:通过内联脚本在 Azure devops 管道任务中注册模型时,它给出了以下问题:

Command:命令:

az ml model register -g $(ml.resourceGroup) -w $(ml.workspace) -n model_test --model-path ./Configuration/outputs/ -t model.json

Error:错误:

Encountered authorization while uploading to blob storage.上传到 Blob 存储时遇到授权。 Please check the blob storage account attached to your workspace.请检查附加到您的工作区的 blob 存储帐户。 Make sure current user is authorized to access the storage account and that the request is not blocked by firewall , virtual network and other security setting.确保当前用户有权访问存储帐户,并且该请求未被防火墙、虚拟网络和其他安全设置阻止。

status code: 403状态码:403

can someone help e on above issue?有人可以帮助解决上述问题吗?

I think I've seen this before.我想我以前见过这个。 Probably you have an outdated version of the CLI.可能您有一个过时的 CLI 版本。 Pease run:豌豆跑:

az upgrade
az extension update -n ml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM