0
私はtheano/lasagneを使ってCNNを実装しようとしています。 私はニューラルネットワークを作りましたが、現在の状態でトレーニングする方法を理解することはできません。theano/lasagneとの畳み込みニューラルネットワーク
これは、私がcurrent_states
を入力としてネットワークの出力を取得しようとしているところです。
train = theano.function([input_var], lasagne.layers.get_output(l.out))
output = train(current_states)
私はこのエラーを取得するしかし:
theano.compile.function_module.UnusedInputError: theano.function was asked to create a function computing outputs given certain inputs, but the provided input variable at index 0 is not part of the computational graph needed to compute the outputs: inputs.
To make this error into a warning, you can pass the parameter on_unused_input='warn' to theano.function. To disable it completely, use on_unused_input='ignore'.
はなぜcurrent_statesが使用されていませんか?
私はcurrent_statesでモデルの出力を取得したいと思います。これはどうすればいいですか?
(CNNは、コードの構築:http://pastebin.com/Gd35RncU)を