nordlaender

theano mlp error

Jan 2nd, 2016
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.17 KB | None | 0 0
  1. /usr/bin/python3.4 /home/lhk/programming/sk/mlp/mlp/Layer.py
  2. Traceback (most recent call last):
  3.   File "/home/lhk/programming/sk/mlp/mlp/Layer.py", line 109, in <module>
  4.     y: train_set_y[index]
  5.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/function.py", line 266, in function
  6.     profile=profile)
  7.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 489, in pfunc
  8.     no_default_updates=no_default_updates)
  9.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 241, in rebuild_collect_shared
  10.     cloned_v = clone_v_get_shared_updates(outputs, copy_inputs_over)
  11.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  12.     clone_a(v.owner, copy_inputs_over)
  13.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  14.     clone_v_get_shared_updates(i, copy_inputs_over)
  15.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  16.     clone_a(v.owner, copy_inputs_over)
  17.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  18.     clone_v_get_shared_updates(i, copy_inputs_over)
  19.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  20.     clone_a(v.owner, copy_inputs_over)
  21.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  22.     clone_v_get_shared_updates(i, copy_inputs_over)
  23.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  24.     clone_a(v.owner, copy_inputs_over)
  25.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  26.     clone_v_get_shared_updates(i, copy_inputs_over)
  27.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  28.     clone_a(v.owner, copy_inputs_over)
  29.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  30.     clone_v_get_shared_updates(i, copy_inputs_over)
  31.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  32.     clone_a(v.owner, copy_inputs_over)
  33.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 131, in clone_a
  34.     clone_v_get_shared_updates(i, copy_inputs_over)
  35.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
  36.     clone_a(v.owner, copy_inputs_over)
  37.   File "/usr/local/lib/python3.4/dist-packages/theano/compile/pfunc.py", line 135, in clone_a
  38.     strict=rebuild_strict)
  39.   File "/usr/local/lib/python3.4/dist-packages/theano/gof/graph.py", line 211, in clone_with_new_inputs
  40.     new_inputs[i] = curr.type.filter_variable(new)
  41.   File "/usr/local/lib/python3.4/dist-packages/theano/tensor/type.py", line 218, in filter_variable
  42.     self=self)
  43. TypeError: Cannot convert Type TensorType(int32, scalar) (of Variable Subtensor{int64}.0) into Type TensorType(int32, vector). You can try to manually convert Subtensor{int64}.0 into a TensorType(int32, vector).
  44.  
  45. Process finished with exit code 1
Add Comment
Please, Sign In to add comment