Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #2881

Open
v-Hailishi opened this issue Mar 15, 2024 · 0 comments
Labels
Priority:2 Work that is important, but not critical for the release Reported by: Test

Comments

@v-Hailishi
Copy link

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:

  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-Local or Image classification-Azure" scenario.
  5. On the Data page, choose the data source to complete the training.
  6. Save All Files, then create a new repository and push to GitHub.
  7. Check out to different location on the same computer.
  8. Open the cloned Model Builder and go to Consume page.
  9. 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.

Screenshot
image

Additional context

  1. The error is not repro when generated the Web API project.
  2. After you save, close then re-open the mbconfig file, the bug would be not repro.
@v-Hailishi v-Hailishi added Priority:2 Work that is important, but not critical for the release Reported by: Test labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:2 Work that is important, but not critical for the release Reported by: Test
Projects
None yet
Development

No branches or pull requests

1 participant