Closed vermapraveen closed 4 years ago
We recently update mlnet cli, but the document is still under preview and not publish yet (it should be released pretty soon though). So the document you see is for v0.15.1 instead of v16.1.1. mlnet v16.1.1 should still in unlist status and shouldn't be able to download yet (but somehow it doesn't).
You can fix this by two solution, one is to uninstall mlnet cli v16.1.1 and reinstall mlnet v0.15.1 back, the command is
dotnet tool install --global mlnet --version 0.15.1
Or you can play with v16.1.1! some changes have been made to command interface to make it easier to use, tell us if you like it or not!
I tried uninstalling and realized I was on 16.1.1
dotnet tool uninstall --global mlnet
Tool 'mlnet' (version '16.1.1') was successfully uninstalled.
0.15.1 giving error:
mlnet auto-train --task binary-classification --dataset "wikipedia-detox-250-line-data.tsv" --label-column-name "Sentiment" --max-exploration-time 10
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
Though I was able to proceed with below command, not sure if it does same as in tutorial, but I was able to train and generate artifacts to use in project
mlnet classification --dataset "wikipedia-detox-250-line-data.tsv" --label-col "Sentiment" --train-time 100
Yep! The command you used is the correct syntax for the new release.
mlnet classification --dataset "wikipedia-detox-250-line-data.tsv" --label-col "Sentiment" --train-time 100
Sorry the docs were not correct!
Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/train Operating System: linux
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.