.NET based ecosystem of open-source software for mathematics, science, and engineering.
@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]]
Hi, i am trying to translate this model to sci-sharp:
model = Sequential()
model.add(Dense(512, input_shape=(1000,), activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(512, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(num_classes))
model.add(Activation('softmax'))
Anyone can help me to find how to add the last activation layer? Cannot find it under keras.layers.