dotnet / machinelearning-modelbuilder

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

Value cannot be null: file name #1866

Closed chethan-nichi closed 2 years ago

chethan-nichi commented 3 years ago

Model Builder Version: In which Model Builder version was the bug encountered? Ans:- 16.6.0 Visual Studion Version: In which Visual Studio version was the bug encountered? Ans:- VS 2019 Version - 16.11.5

Bug description I was unable to generate code after model training is completed

Steps to Reproduce

  1. Select scenario as Image classification
  2. Select environment as local CPU
  3. Select data folder
  4. Click train
  5. After training is completed an error was encountered

Expected Experience Expecting code to be generated

Actual Experience Facing errors as image attached

beccamc commented 3 years ago

@chethan-nichi Can you update to the latest version - 16.7.6.

https://marketplace.visualstudio.com/items?itemName=MLNET.07

flokie commented 3 years ago

Model Builder: 16.8.4.2152201 Visual Studio: 2022 Preview 5 Scenario: Value Prediction

I'm not sure if it's the same problem but it fails after training completed here too.

Screen Shot 2021-10-25 at 00 37 19
vzhuqin commented 3 years ago

@beccamc , I also met errors during training on latest main build: 16.8.4.2152201 for all scenarios, could you help to take a look? Error for Json and Folder type: image

Error for File type: image

ffquintella commented 3 years ago

Looks like the same issue I have in https://github.com/dotnet/machinelearning-modelbuilder/issues/1857

beccamc commented 3 years ago

This is fixed via https://github.com/dotnet/machinelearning-tools/pull/1302. @vzhuqin Can you test this?

beccamc commented 3 years ago

@flokie You're on an unreleased version. I think you must be on our candidate preview channel? Can you remove that and go to the public build on the marketplace? Let me know if you want help with that!

vzhuqin commented 3 years ago

Hi @beccamc, not repro this issue on latest main: 16.9.1.2152802, now can complete the training and generate code without any error. image

flokie commented 3 years ago

@beccamc I'm using market version for production already. I'm using main version to just testing stuff and also see if there is something new =) As @vzhuqin said, problem is gone on my side now with that latest main version too.