Skip to content

Sentence similarity: The Code snippet would be blank on the Consume page after you close and reopen .mbconfig file. #2462

@v-Hailishi

Description

@v-Hailishi

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-22H2
ML.Net Model Builder 2022: 16.14.3.2307701 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.4.4)
.Net: 6.0

Describe the bug

  • On which step of the process did you run into an issue:
    The Code snippet would be blank on the Consume page after you close and reopen .mbconfig file.

TestMatrix
home-depot-sentence-similarity-small.csv

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 "Sentence similarity" scenario and data source to complete the training.
  5. Go to the Consume page, at this time, the Code snippet is displayed normally.
  6. Close and reopen .mbconfig file, go to the Consume page again, at this time, the Code snippet is blank.

Expected behavior
The Code snippet should be diapled normally on the Consume page after you close and reopen .mbconfig file.

Screenshot
image

Additional context

Metadata

Metadata

Assignees

Labels

Priority:1Work that is critical for the release, but we could probably ship withoutReported by: Test

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions