Azure-Samples / Azure-Samples/cognitive-service-vision-model-customization-python-samples

Azure AI Custom Image Analysis model not returning performance metrics

未关闭
#28 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
15
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
Trained and working Azure AI Custom Image Analysis model.

### Any log messages given by the failure
`Status: Error(code={'code': 'InternalServerError', 'message': 'Batch did not complete successfully. OutputResultWriteFailed: An unexpected error was encountered.'}, message='', target='', details=[])`

### Expected/desired behavior
The following code from this guideline - https://github.com/Azure-Samples/cognitive-service-vision-model-customization-python-samples/blob/main/docs/cognitive_service_vision_model_customization.ipynb - do not return any performance metrics.

```
from cognitive_service_vision_model_customization_python_samples import Evaluation
eval_dataset_name = '{specify_your_eval_dataset_name}'
evaluation_name = '{specify_your_eval_run_name}'

evaluation = Evaluation(evaluation_name, model_name, eval_dataset_name)
training_client.evaluate_model(evaluation)

evaluation = training_client.wait_for_evaluation_completion(model_name, evaluation_name)
```

### OS and Version?
> Windows 10

### Versions
>

### Mention any other details that might be useful
I've created a question in the Q&A section of Microsoft - https://learn.microsoft.com/en-us/answers/questions/1880298/azure-ai-custom-image-analysis-model-not-returning?page=1&orderby=helpful&comment=answer-1665959. However the community couldn't help.

![image](https://github.com/user-attachments/assets/3512c1bb-751d-45fe-8a92-32662f12f949)

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

贡献指南

打开贡献指南

调研方向

从 docs/cognitive_service_vision_model_customization.ipynb 和报告中展示的 Evaluation/evaluate_model 流程开始。使用经过训练的 Custom Image Analysis 模型重现评估,然后检查 InternalServerError/OutputResultWriteFailed 响应,并将其与链接的 Microsoft Q&A 线程进行比较。确定指标缺失的原因,并记录已确认的解决方案或限制,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
cloud, machine-learning
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。