deep_q_rl icon indicating copy to clipboard operation
deep_q_rl copied to clipboard

something wrong with referenced Lasagne

Open hutaocheng opened this issue 9 years ago • 0 comments

the Lasagne.layers.Conv2DCCLayer used the default nonlinearity(activation), which use non existed theano.tensor.nnet.relu

The following code is in Line 142, Lasagne.nonlinearities.py

rectify

def rectify(x): """Rectify activation function :math:\\varphi(x) = \\max(0, x)

Parameters
----------
x : float32
    The activation (the summed, weighted input of a neuron).

Returns
-------
float32
    The output of the rectify function applied to the activation.
"""
return theano.tensor.nnet.relu(x)

hutaocheng avatar Oct 05 '15 12:10 hutaocheng