Browse Source

fix training data download issue. #248

tags/v0.9
Oceania2018 6 years ago
parent
commit
980201d671
2 changed files with 9 additions and 1 deletions
  1. +8
    -0
      README.md
  2. +1
    -1
      test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs

+ 8
- 0
README.md View File

@@ -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)


+ 1
- 1
test/TensorFlowNET.Examples/ImageProcess/RetrainImageClassifier.cs View File

@@ -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);



Loading…
Cancel
Save