Skip to content

Instantly share code, notes, and snippets.

@bayerj
Created June 7, 2011 14:28
Show Gist options
  • Select an option

  • Save bayerj/1012356 to your computer and use it in GitHub Desktop.

Select an option

Save bayerj/1012356 to your computer and use it in GitHub Desktop.
theano optimization failures
ERROR: Optimization failure due to: local_subtensor_make_vector
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 869, in local_subtensor_make_vector
shape_feature = node.env.shape_feature
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_useless_subtensor
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 1176, in local_useless_subtensor
shape_of = node.env.shape_feature.shape_of
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_subtensor_merge
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 1416, in local_subtensor_merge
xshape[pos_1],
UnboundLocalError: local variable 'xshape' referenced before assignment
ERROR: Optimization failure due to: local_subtensor_make_vector
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 869, in local_subtensor_make_vector
shape_feature = node.env.shape_feature
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_useless_subtensor
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 1176, in local_useless_subtensor
shape_of = node.env.shape_feature.shape_of
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_subtensor_merge
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 1416, in local_subtensor_merge
xshape[pos_1],
UnboundLocalError: local variable 'xshape' referenced before assignment
ERROR: Optimization failure due to: local_subtensor_make_vector
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 869, in local_subtensor_make_vector
shape_feature = node.env.shape_feature
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_useless_subtensor
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 1176, in local_useless_subtensor
shape_of = node.env.shape_feature.shape_of
AttributeError: 'Env' object has no attribute 'shape_feature'
ERROR: Optimization failure due to: local_subtensor_make_vector
TRACEBACK:
Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 882, in process_node
replacements = lopt.transform(node)
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 869, in local_subtensor_make_vector
shape_feature = node.env.shape_feature
AttributeError: 'Env' object has no attribute 'shape_feature'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment