Ich kämpfe mit Theano-Typen.Keras/Theano Ausgabe
Ich habe in Keras einige Sequential
Modell, in dem die letzte Schicht
final_model.add(Dense(1, activation='sigmoid'))
ist, wenn ich
final_model.get_output([x,x])
>>> sigmoid.0
Wie versuchen kann ich bekommen die tatsächliche Ausgangsnummer? Ich habe versucht mit output.eval()
resp. output[0][0].eval()
aber das führt nur in
theano.gof.fg.MissingInputError: ("An input of the graph, used to compute Shape(<TensorType(int32, matrix)>), was not provided and not given a value.Use the Theano flag exception_verbosity='high',for more information on this error.", <TensorType(int32, matrix)>)
Danke! Genau das, was ich brauchte – cubeception