dotnet / machinelearning-modelbuilder

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

Model Builder Error: "The remote server returned an error: (400) Bad Request." when creating Azure experiment on Russian VS. #1802

Closed vzhuqin closed 1 year ago

vzhuqin commented 3 years ago

System Information (please complete the following information):

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Set VS language to Russian through: Tools>Options...>International Settings>Language;
  2. Close and open Visual Studio 2019, select Create a new project from the start window;
  3. Choose the C# Console App (.NET Core) project template with .Net 5.0;
  4. Add model builder by right click on the project;
  5. Select Object detection or Image classification scenario to navigate to Environment page;
  6. Select Azure and click "Set up workspace" button to open Create new experiment dialog;
  7. Click "Create" button after selected the options;
  8. See error: Prompts Model Builder Error: The remote server returned an error: (400) Bad Request. Experiment name must be 1-256 characters, start with a letter or a number, and can only contain letters, numbers, underscores, and dashes.

Expected behavior No error when create Azure experiment on non-English VS.

Screenshots If applicable, add screenshots to help explain your problem. image

Additional context The Experiment name: "Objectdetection" and "Imageclassification" are translated, found that if renamed the Experiment Name with the beginning of English character, this error is not prompted.

beccamc commented 3 years ago

Very nice find!

beccamc commented 3 years ago

We should update the name to their project name instead of "Object detection." Then the error experience is acceptable.

beccamc commented 1 year ago

This is updated!