dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
267 stars 56 forks source link

Object Detection-Azure: The error message is truncated on the "Advanced training options" dialog. #2830

Open v-Hailishi opened 10 months ago

v-Hailishi commented 10 months ago

System Information (please complete the following information): Windows OS: Windows-11-Enterprise-22H2 ML.Net Model Builder 2022: 17.17.17.2407507 (Main Build) Microsoft Visual Studio Enterprise: 2022(17.2.0) .Net Core: 6.0,7.0,8.0

Describe the bug

TestMatrix https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-model-builder#create-a-new-vott-project

To Reproduce Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select "Object Detection" scenario>Azure.
  5. On the Data page, choose the data source.
  6. On the Train page, click "Advanced training options" link, enter the invalid value, for example "-5".
  7. Check the error message.

Expected behavior The error message should be displayed well on the "Advanced training options" dialog.

Gif: image

Additional context: The bug is repro on scenarios: Object Detection-Azure, Sentence similarity, Question Answering.

v-Hailishi commented 1 week ago

The bug is still repro on the latest main build 17.19.0.2455701.