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

Azure AI Custom Image Analysis model not returning performance metrics

オープン
#28 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。