无法在Azure机器学习服务工作区中注册ONNX模型 [英] Unable to register an ONNX model in azure machine learning service workspace

查看:104
本文介绍了无法在Azure机器学习服务工作区中注册ONNX模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以两种不同的方式向ONLINE模型注册到Azure机器学习服务工作区,但是我遇到了无法解决的错误。



第一种方法:通过Jupyter Notebook和python脚本

  model = Model.register(model_path = MODEL_FILENAME,
model_name = MyONNXmodel,
标签= { onnx: V0},
description =测试,
工作区= ws)

错误为: HttpOperationError:操作返回了无效的状态码'服务调用失败!请求:GET



有人可以帮忙吗?

解决方案

错误413表示有效负载过大。使用Azure门户,您只能上传最大25MB的模型。请使用python SDK上传大于25MB的模型。


I was trying to register an ONNX model to Azure Machine Learning service workspace in two different ways, but I am getting errors I couldn't solve.

First method: Via Jupyter Notebook and python Script

model = Model.register(model_path = MODEL_FILENAME,
                       model_name = "MyONNXmodel",
                       tags = {"onnx":"V0"},
                       description = "test",
                       workspace = ws)

The error is : HttpOperationError: Operation returned an invalid status code 'Service invocation failed!Request: GET https://cert-westeurope.experiments.azureml.net/rp/workspaces'

Second method: Via Azure Portal

Anyone can help please?

解决方案

error 413 means the payload is too large. Using Azure portal, you can only upload a model upto 25MB in size. Please use python SDK to upload models larger than 25MB.

这篇关于无法在Azure机器学习服务工作区中注册ONNX模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆