.NET based ecosystem of open-source software for mathematics, science, and engineering.
@uzfm Are you saying theimg_final
is empty when second prediction? Yes.
I tried many options but nothing helped.
"var tensorr = tf.constant (imgR)" also doesn't work
@uzfm @vshakhlin Just upgrade to v0.3.1 https://www.nuget.org/packages/SciSharp.Models.ImageClassification/0.3.1, it will resolve the prediction issue.
Thank you very much!!! works great.
Is it possible to see the result of the prediction for all classes?
for example
input
using NumSharp;
var m = np.array(new double[]{1,2,3,4,5}).reshape(5,1);
m.ToString().Display();
var n = np.array(new double[,]{{1},{2},{3},{4},{5}});
n.ToString().Display();
output
[[1],
[2],
[3],
[4],
[5]]
[[1],
[2],
[3],
[4],
[5]]