Azure / Azure/MachineLearningNotebooks
Failure to load dependency lib for azureml-monitoring-0.1.0a21
- 主要語言
- Jupyter Notebook
- 星號
- 4.4k
- 分支
- 2.6k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I am trying to use azureml-monitoring for collecting logs to blob-storage for AzureML AKS Model deployments. I am following [this ](https://docs.microsoft.com/en-us/azure/machine-learning/how-to-enable-data-collection) page to set it up. However, upon calling the model, I get the following logs from the service pod:
```
File "/structure/azureml-app/score.py", line 23, in run
inputs_dc.collect(data) #this call is saving our input data into Azure Blob
File "/azureml-envs/sklearn-1.0/lib/python3.8/site-packages/azureml/monitoring/modeldatacollector.py", line 457, in collect
if (not self._cloud_enabled or self._handle == -1) and not self._debug:
AttributeError: 'ModelDataCollector' object has no attribute '_cloud_enabled'
```
Further down the stacktrace, it shows this.
```
00000000-0000-0000-0000-000000000000,Invalid or corrupted package: Unable to load dependency library!
```
It seems like this class is broken.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 63501a75-ac56-360f-fd2f-9b47980943dd
* Version Independent ID: 922345ef-a929-7202-b76a-668f95695f35
* Content: [azureml.monitoring.modeldatacollector.ModelDataCollector class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-monitoring/azureml.monitoring.modeldatacollector.modeldatacollector?view=azure-ml-py)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-monitoring/azureml.monitoring.modeldatacollector.ModelDataCollector.yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-monitoring/azureml.monitoring.modeldatacollector.ModelDataCollector.yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 score.py 第 23 行和 ModelDataCollector.collect 的 traceback 開始,接著依照連結的資料收集文件,檢查 azureml-monitoring 0.1.0a21 套件及其相依性載入記錄。文件所述的 AKS 設定成功載入,且 inputs_dc.collect(data) 在沒有因缺少 _cloud_enabled 或套件損毀而產生的錯誤下完成,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, python
- 領域
- cloud, machine-learning
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100