Skip to content Skip to sidebar Skip to footer
Showing posts with the label Theano

Theano 'expected An Array-like Object, But Found A Variable': Using Scan & Categorical_crossentropy

I'm trying to sum multiple loss in theano but I can't make it work. I'm using the categ… Read more Theano 'expected An Array-like Object, But Found A Variable': Using Scan & Categorical_crossentropy

Theano Sqrt Returning Nan Values

In my code I'm using theano to calculate an euclidean distance matrix (code from here): import … Read more Theano Sqrt Returning Nan Values

Theano: Summation By Class Label

I have a matrix which represents a distances to the k-nearest neighbour of a set of points, and the… Read more Theano: Summation By Class Label

Convert Python Ndarray To Theano Tensor Type Variable

I have ndarray like : diag = [] diag.append(np.diag([1,1,0])) diag.append(np.diag([0,1,1])) diag … Read more Convert Python Ndarray To Theano Tensor Type Variable

Windows Theano Keras - Lazylinker_ext\mod.cpp: No Such File Or Directory

I am installing Theano and Keras follwing the How do I install Keras and Theano in Anaconda Python … Read more Windows Theano Keras - Lazylinker_ext\mod.cpp: No Such File Or Directory

Pdist For Theano Tensor

I have a theano symbolic matrix x = T.fmatrix('input') x will be later on populated by n v… Read more Pdist For Theano Tensor

Theano.test() : Optimization Failure Due To Constant_folding (on Ubuntu)

When running theano.test() on an Ubuntu operating system, some error message about an optimization … Read more Theano.test() : Optimization Failure Due To Constant_folding (on Ubuntu)

Initializing A Symmetric Theano Dmatrix From Its Upper Triangle

I'm trying to fit a Theano model that is parametrized in part by a symmetric matrix A. In order… Read more Initializing A Symmetric Theano Dmatrix From Its Upper Triangle