Azure / Azure/MachineLearningNotebooks
Failure to load dependency lib for azureml-monitoring-0.1.0a21
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 4.4k
- Fork
- 2.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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**
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với dòng 23 của score.py và traceback của ModelDataCollector.collect, sau đó kiểm tra package azureml-monitoring 0.1.0a21 cùng log tải dependency của nó trong khi làm theo tài liệu thu thập dữ liệu được liên kết. Được xem là hoàn tất khi thiết lập AKS được ghi trong tài liệu tải thành công và inputs_dc.collect(data) hoàn tất mà không gặp lỗi do thiếu _cloud_enabled hoặc package bị hỏng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, python
- Lĩnh vực
- cloud, machine-learning
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100