Removed extra commented out statements
This commit is contained in:
Родитель
a1298c70cb
Коммит
6256577534
|
@ -415,7 +415,7 @@
|
|||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"<azureml._restclient.models.batch_artifact_content_information_dto.BatchArtifactContentInformationDto at 0x234476f2a20>"
|
||||
"<azureml._restclient.models.batch_artifact_content_information_dto.BatchArtifactContentInformationDto at 0x12b965b39b0>"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
|
@ -479,8 +479,8 @@
|
|||
"text": [
|
||||
"Model:\n",
|
||||
" --> Name: im_classif_resnet18\n",
|
||||
" --> ID: im_classif_resnet18:66\n",
|
||||
" --> Path:azureml-models\\im_classif_resnet18\\66\\im_classif_resnet18.pkl\n"
|
||||
" --> ID: im_classif_resnet18:68\n",
|
||||
" --> Path:azureml-models\\im_classif_resnet18\\68\\im_classif_resnet18.pkl\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
@ -569,11 +569,11 @@
|
|||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<table style=\"width:100%\"><tr><th>Experiment</th><th>Id</th><th>Type</th><th>Status</th><th>Details Page</th><th>Docs Page</th></tr><tr><td>image-classifier-webservice</td><td>c4ab4a1f-89a6-4a44-a14f-f4b995a2e1d8</td><td></td><td>Completed</td><td><a href=\"https://mlworkspace.azure.ai/portal/subscriptions/b8c23406-f9b5-4ccb-8a65-a8cb5dcd6a5a/resourceGroups/alteste-rg/providers/Microsoft.MachineLearningServices/workspaces/ws2_tutorials2/experiments/image-classifier-webservice/runs/c4ab4a1f-89a6-4a44-a14f-f4b995a2e1d8\" target=\"_blank\" rel=\"noopener\">Link to Azure Portal</a></td><td><a href=\"https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run.Run?view=azure-ml-py\" target=\"_blank\" rel=\"noopener\">Link to Documentation</a></td></tr></table>"
|
||||
"<table style=\"width:100%\"><tr><th>Experiment</th><th>Id</th><th>Type</th><th>Status</th><th>Details Page</th><th>Docs Page</th></tr><tr><td>image-classifier-webservice</td><td>ff4a55d5-1916-4131-ac92-8658789c4f8f</td><td></td><td>Completed</td><td><a href=\"https://mlworkspace.azure.ai/portal/subscriptions/b8c23406-f9b5-4ccb-8a65-a8cb5dcd6a5a/resourceGroups/alteste-rg/providers/Microsoft.MachineLearningServices/workspaces/ws2_tutorials2/experiments/image-classifier-webservice/runs/ff4a55d5-1916-4131-ac92-8658789c4f8f\" target=\"_blank\" rel=\"noopener\">Link to Azure Portal</a></td><td><a href=\"https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run.Run?view=azure-ml-py\" target=\"_blank\" rel=\"noopener\">Link to Documentation</a></td></tr></table>"
|
||||
],
|
||||
"text/plain": [
|
||||
"Run(Experiment: image-classifier-webservice,\n",
|
||||
"Id: c4ab4a1f-89a6-4a44-a14f-f4b995a2e1d8,\n",
|
||||
"Id: ff4a55d5-1916-4131-ac92-8658789c4f8f,\n",
|
||||
"Type: None,\n",
|
||||
"Status: Completed)"
|
||||
]
|
||||
|
@ -785,9 +785,9 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Running....................................................................................................................\n",
|
||||
"SucceededImage creation operation finished for image image-classif-resnet18-f48:27, operation \"Succeeded\"\n",
|
||||
"Wall time: 10min 54s\n"
|
||||
"Running................................................................................................\n",
|
||||
"SucceededImage creation operation finished for image image-classif-resnet18-f48:28, operation \"Succeeded\"\n",
|
||||
"Wall time: 9min 1s\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
@ -924,7 +924,7 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Running.......................................\n",
|
||||
"Running.....................................\n",
|
||||
"SucceededACI service creation operation finished, operation \"Succeeded\"\n"
|
||||
]
|
||||
}
|
||||
|
@ -1087,7 +1087,6 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"POST to url: http://20.42.37.68:80/score\n",
|
||||
"Prediction: [{\"label\": \"water_bottle\", \"probability\": \"0.8001841306686401\"}, {\"label\": \"water_bottle\", \"probability\": \"0.68577641248703\"}]\n"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -15,9 +15,7 @@ def test_ims2strlist():
|
|||
os.path.join(data_path, "carton", "im_62.jpg"),
|
||||
]
|
||||
im_string_list = ims2strlist(im_list)
|
||||
# input_to_service = json.dumps({"data": im_string_list})
|
||||
assert isinstance(im_string_list, list)
|
||||
# assert input_to_service[0:11] == '{"data": ["'
|
||||
|
||||
|
||||
def test_im2base64():
|
||||
|
|
Загрузка…
Ссылка в новой задаче