SciSharp / SciSharp-Stack-Examples

Practical examples written in SciSharp's machine learning libraries
http://scisharpstack.org
Apache License 2.0
319 stars 103 forks source link

Fixed an issue: the command line running for specific example was invalid #73

Closed Wanglongzhi2001 closed 1 year ago

Wanglongzhi2001 commented 1 year ago

I want to run the specific example just like the command in the README says: "dotnet run --project src/TensorFlowNET.Examples -ex "Linear Regression (Graph)", but it turned out to run all the examples. So I modified the logic of the "Program.cs" to determine whether the current model is the model specified by the command line arguments, and modified the logic a little to get a satisfactory printing result.