Object detection-Local & Image classification-Azure: Console App is generated failed with error "Object reference not set to an instance of an object." when using the model cloned from GitHub.
v-Hailishi opened this issue · comments
v-Hailishi commented
System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-22H2
ML.Net Model Builder 2022: 17.18.2.2416101 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.9.3)
.Net: 6.0
Describe the bug
- On which step of the process did you run into an issue:
Console App is generated failed with error "Object reference not set to an instance of an object." when using the model cloned from GitHub.
TestMatrix
https://testpass.blob.core.windows.net/test-pass-data/weather.zip
To Reproduce
Steps to reproduce the behavior:
- Select Create a new project from the Visual Studio start window.
- Choose the C# Console App (.NET Core) project template.
- Add model builder by right click on the project.
- Select "Object detection-Local or Image classification-Azure" scenario.
- On the Data page, choose the data source to complete the training.
- Save All Files, then create a new repository and push to GitHub.
- Check out to different location on the same computer.
- Open the cloned Model Builder and go to Consume page.
- Click "Add to solution" button to generate Console App project, pop-up the error "Object reference not set to an instance of an object.".
Expected behavior
Console App can be generated successfully.
Additional context
- The error is not repro when generated the Web API project.
- After you save, close then re-open the mbconfig file, the bug would be not repro.