bansari shah
2015-01-20 06:31:25 UTC
Hi,
I am facing the same problem. But adding this import doesn't help me. Can
someone please suggest something else?
I am facing the same problem. But adding this import doesn't help me. Can
someone please suggest something else?
Hi,
Finally, I figure out that it was the missing library "scipy.linalg.blas"
that causes the specific problem.
I just import the specific library and the program "logistic_sgd.py" is
running normally
Petros.
΀η ΀εÏάÏÏη, 17 ÎÎ¿Ï Î»Î¯Î¿Ï 2013 6:41:51 ÎŒ.ÎŒ. UTC+3, ο ÏÏήÏÏÎ·Ï Petros
Finally, I figure out that it was the missing library "scipy.linalg.blas"
that causes the specific problem.
I just import the specific library and the program "logistic_sgd.py" is
running normally
Petros.
΀η ΀εÏάÏÏη, 17 ÎÎ¿Ï Î»Î¯Î¿Ï 2013 6:41:51 ÎŒ.ÎŒ. UTC+3, ο ÏÏήÏÏÎ·Ï Petros
Hello everyone!
I am new to Theano and have just started working through the tutorial
here: http://deeplearning.net/tutorial/logreg.html Thanks to the authors
for writing the tutorial! It has been very instructive!
My problem is that I use the code from the tutorial "logistic_sgd.py" and
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas. Falling
No such file or directory)
.... loading data
...building the model
File "/home/petros/LogReg.py", line 271, in <module>
sgd_optimization_mnist()
File "/home/petros/LogReg.py", line 163, in sgd_optimization_mnist
y: test_set_y[index * batch_size: (index + 1) * batch_size]})
File
"/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line
221, in function
profile=profile)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 484, in pfunc
no_default_updates=no_default_updates)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 241, in rebuild_collect_shared
cloned_v = clone_v_get_shared_updates(outputs, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 132, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 132, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 136, in clone_a
strict=rebuild_strict)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/graph.py", line
213, in clone_with_new_inputs
new_inputs[i] = curr.type.filter_variable(new)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/basic.py",
line 821, in filter_variable
self=self)
TypeError: Cannot convert Type TensorType(int32, matrix) (of Variable
Subtensor{int64:int64:}.0) into Type TensorType(int32, vector). You can try
to manually convert Subtensor{int64:int64:}.0 into a TensorType(int32,
vector).
Does anyone know how to solve this problem.....???
Thanks in advance.
Petros
I am new to Theano and have just started working through the tutorial
here: http://deeplearning.net/tutorial/logreg.html Thanks to the authors
for writing the tutorial! It has been very instructive!
My problem is that I use the code from the tutorial "logistic_sgd.py" and
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas. Falling
No such file or directory)
.... loading data
...building the model
File "/home/petros/LogReg.py", line 271, in <module>
sgd_optimization_mnist()
File "/home/petros/LogReg.py", line 163, in sgd_optimization_mnist
y: test_set_y[index * batch_size: (index + 1) * batch_size]})
File
"/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line
221, in function
profile=profile)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 484, in pfunc
no_default_updates=no_default_updates)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 241, in rebuild_collect_shared
cloned_v = clone_v_get_shared_updates(outputs, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 132, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 132, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 93, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 136, in clone_a
strict=rebuild_strict)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/graph.py", line
213, in clone_with_new_inputs
new_inputs[i] = curr.type.filter_variable(new)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/basic.py",
line 821, in filter_variable
self=self)
TypeError: Cannot convert Type TensorType(int32, matrix) (of Variable
Subtensor{int64:int64:}.0) into Type TensorType(int32, vector). You can try
to manually convert Subtensor{int64:int64:}.0 into a TensorType(int32,
vector).
Does anyone know how to solve this problem.....???
Thanks in advance.
Petros
--
---
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.
---
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.