Description
First of all, thanks for Thanks for creating these samples! 👍
This is just a minor suggested fix, probably a typo or wrong specified version in the comments. The ImageRecognitionInception example says on the top comment that it is using Inception v3, here: https://github.com/SciSharp/TensorFlow.NET/blob/master/test/TensorFlowNET.Examples/ImageProcessing/ImageRecognitionInception.cs#L14
However, it is downloading and using the Inception v1 model (inception5h.zip)
See here:
https://github.com/SciSharp/TensorFlow.NET/blob/master/test/TensorFlowNET.Examples/ImageProcessing/ImageRecognitionInception.cs#L92
It is downloading this file:
string url = "https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip";
Filename after unpacked: tensorflow_inception_graph.pb
That file (inception5h), as far as I know, is Inception v1.
The .pb file within that .ZIP packed file is exactly the same as the one from this v1 download, which is clearly v1:
https://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip
Inception v3 is this one:
https://storage.googleapis.com/download.tensorflow.org/models/inception_v3_2016_08_28_frozen.pb.tar.gz
Filename after unpacked: inception_v3_2016_08_28_frozen.pb
Inception v3 is precisely being used in this other sample, InceptionArchGoogLeNet sample:
https://github.com/SciSharp/TensorFlow.NET/blob/master/test/TensorFlowNET.Examples/ImageProcessing/InceptionArchGoogLeNet.cs#L92
Suggested fix:
Since there's an Inception v3 example already (InceptionArchGoogLeNet), probably the only needed fix is to update the ImageRecognitionInception example to say it is using Inception v1? :)
Also, any particular reason why the Inception v3 sample is not enabled in the by default execution?
Currently in the by default execution you just see the Inception v1 model.
You don't see the Inception v3 in the by default list of samples, only the Inception v1:
That's because it is not enabled:
https://github.com/SciSharp/TensorFlow.NET/blob/master/test/TensorFlowNET.Examples/ImageProcessing/InceptionArchGoogLeNet.cs#L18
public class InceptionArchGoogLeNet : IExample
{
public bool Enabled { get; set; } = false;
If I change the Enabled = true;
then I am able to run the Inception v3 example with no issues.