Discussion:
[theano-users] No matching function for call to batch_gemm<float>
Стас Утикеев
2018-04-21 18:47:31 UTC
Permalink
I'm trying to launch some Python projects which I need for my bachelor
thesis and they use theano.

The problem is, that one of the cell compiles these functions and fails
with following compiler error: https://pastebin.com/TunvSwWU

train_fn = theano.function([X_tensor1, X_tensor2, Mask_matrix1, Mask_matrix2
, Y_vector], cost, updates=lasagne_adagrad(cost, params_to_optimize,
learning_rate=lr), on_unused_input='ignore')
predict_fn = theano.function([X_tensor1, X_tensor2, Mask_matrix1,
Mask_matrix2], output, on_unused_input='ignore')

The strangest thing is that in other notebook I have this code and it
compiles just fine:

train_fn = theano.function([X_tensor1, X_tensor2, Mask_matrix1, Mask_matrix2
, Y_vector], cost, updates=lasagne_adagrad(cost, [W,U,h0,b,softmax_W,
softmax_b], learning_rate=lr), on_unused_input='ignore')
predict_fn = theano.function([X_tensor1, X_tensor2, Mask_matrix1,
Mask_matrix2], output, on_unused_input='ignore')

I'm not really experienced theano user and right now just try to run this
code before digging into it. What can be the problem?
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pascal Lamblin
2018-04-23 15:52:24 UTC
Permalink
What's the version of g++ you are using?
Post by Стас Утикеев
I'm trying to launch some Python projects which I need for my bachelor
thesis and they use theano.
The problem is, that one of the cell compiles these functions and fails
with following compiler error: https://pastebin.com/TunvSwWU
|
train_fn
=theano.function([X_tensor1,X_tensor2,Mask_matrix1,Mask_matrix2, Y_vector],cost,updates=lasagne_adagrad(cost,params_to_optimize,learning_rate=lr),on_unused_input='ignore')
predict_fn
=theano.function([X_tensor1,X_tensor2,Mask_matrix1,Mask_matrix2],output,on_unused_input='ignore')
|
The strangest thing is that in other notebook I have this code and it
|
train_fn
=theano.function([X_tensor1,X_tensor2,Mask_matrix1,Mask_matrix2, Y_vector],cost,updates=lasagne_adagrad(cost,[W,U,h0,b,softmax_W,softmax_b],learning_rate=lr),on_unused_input='ignore')
predict_fn
=theano.function([X_tensor1,X_tensor2,Mask_matrix1,Mask_matrix2],output,on_unused_input='ignore')
|
I'm not really experienced theano user and right now just try to run
this code before digging into it. What can be the problem?
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Стас Утикеев
2018-04-23 15:58:23 UTC
Permalink
Thanks, I've already solved that by installing everything in clean virtual
environment via Conda.

пПМеЎельМОк, 23 апреля 2018 г., 18:52:29 UTC+3 пПльзПватель Pascal Lamblin
Post by Pascal Lamblin
What's the version of g++ you are using?
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...