diff --git a/README.md b/README.md index f2f72d75..545cea13 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,14 @@ Read the docs & book [The Definitive Guide to Tensorflow.NET](https://tensorflow ### More examples: +Run specific example in shell: + +```cs +dotnet TensorFlowNET.Examples.dll "Retrain Image Classifier" +``` + +Example runner will download all the required files like training data and model pb files. + * [Hello World](test/TensorFlowNET.Examples/HelloWorld.cs) * [Basic Operations](test/TensorFlowNET.Examples/BasicOperations.cs) * [Linear Regression](test/TensorFlowNET.Examples/BasicModels/LinearRegression.cs) diff --git a/test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs b/test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs index 6cb7b0d2..2b2b5364 100644 --- a/test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs +++ b/test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs @@ -593,7 +593,7 @@ namespace TensorFlowNET.Examples.ImageProcess { // get a set of images to teach the network about the new classes string fileName = "flower_photos.tgz"; - string url = $"http://download.tensorflow.org/models/{fileName}"; + string url = $"http://download.tensorflow.org/example_images/{fileName}"; Web.Download(url, data_dir, fileName); Compress.ExtractTGZ(Path.Join(data_dir, fileName), data_dir);