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: Failed to open a zip archive when adding projects to solution. #1949

Open vzhuqin opened 2 years ago

vzhuqin commented 2 years ago

System Information (please complete the following information):

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio 2019 start window;
  2. Choose the C# Console App (.NET Core) project template with .Net 5.0;
  3. Add model builder by right click on the project;
  4. Select Object detection to complete the training;
  5. Close the model builder and Save All files;
  6. Check into Git Repo by using git lfs;
  7. Re-open the model builder, navigate to Consume page;
  8. See that:
    • Code snippet is empty.
    • Prompts Model Builder Error: Failed to open a zip archive. when adding projects to solution.

Expected behavior No error when adding project to solution.

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

Additional context Not repro this issue when check out the repo.

LittleLittleCloud commented 2 years ago

@vzhuqin Can you share your git repo?

vzhuqin commented 2 years ago

@LittleLittleCloud The previous repo has been deleted due to git lfs storage limitation. But I can repro this issue on latest main: 16.9.1.2161701. The git repo is: https://github.com/vzhuqin/Collaboration-OD-1221 image

LittleLittleCloud commented 2 years ago

@vzhuqin Not reproduce on latest main, can you try again to confirm the error is gone?

vzhuqin commented 2 years ago

@LittleLittleCloud , my git-lfs usage exceeded, I will try it after my usage is reset.

vzhuqin commented 2 years ago

@LittleLittleCloud can repro this issue on latest main: 16.12.1.2206901 Please note that this issue is not happened if you clone the repository from github, then open the model builder. It only occurs for the original model builder in local machine which had been created and pushed to git. image.png