-->

Unable to register an ONNX model in azure machine

2019-05-31 23:21发布

问题:

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?