Closed RobertElder closed 11 years ago
Type error when running func_test on distribute-proto code. Code works with theano version:
robert@robert-ubuntu:~/spike/test/error-2$ /usr/bin/python -m /home/robert/spike/test/error-2/func_test /home/robert/spike/test/error-2/../../examples/theano 0 [ 0. 0. 0.] 1 [ 0. 0. 0.] 2 [ 0. 0. 0.] 3 [-0.00176551 -0.00357935 0.00357935] 4 [-0.00394014 -0.00744786 0.00744786] 5 [-0.00418782 -0.01191815 0.01191815] 6 [-0.00453147 -0.01039451 0.01039451] 7 [-0.00274867 -0.00839719 0.00839719] 8 [-0.00434575 -0.01345202 0.01345202] 9 [-0.00265833 -0.01738341 0.01738341]
distribute-proto version:
robert@robert-ubuntu:~/spike/test/error-2$ ./show-error.sh /usr/bin/python -m /home/robert/spike/test/error-2/func_test /home/robert/spike/test/error-2/../../src/distribute-proto Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/robert/spike/test/error-2/func_test.py", line 9, in net.connect('input','A') File "/home/robert/spike/test/error-2/../../src/distribute-proto/nef/network.py", line 82, in connect value_size = len(pre.value) TypeError: len() of unsized object
Not sure if this is expected because of a known issue?
This is a duplicated issue caused by github lagging.
Type error when running func_test on distribute-proto code. Code works with theano version:
robert@robert-ubuntu:~/spike/test/error-2$ /usr/bin/python -m /home/robert/spike/test/error-2/func_test /home/robert/spike/test/error-2/../../examples/theano 0 [ 0. 0. 0.] 1 [ 0. 0. 0.] 2 [ 0. 0. 0.] 3 [-0.00176551 -0.00357935 0.00357935] 4 [-0.00394014 -0.00744786 0.00744786] 5 [-0.00418782 -0.01191815 0.01191815] 6 [-0.00453147 -0.01039451 0.01039451] 7 [-0.00274867 -0.00839719 0.00839719] 8 [-0.00434575 -0.01345202 0.01345202] 9 [-0.00265833 -0.01738341 0.01738341]
distribute-proto version:
robert@robert-ubuntu:~/spike/test/error-2$ ./show-error.sh /usr/bin/python -m /home/robert/spike/test/error-2/func_test /home/robert/spike/test/error-2/../../src/distribute-proto Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/robert/spike/test/error-2/func_test.py", line 9, in
net.connect('input','A')
File "/home/robert/spike/test/error-2/../../src/distribute-proto/nef/network.py", line 82, in connect
value_size = len(pre.value)
TypeError: len() of unsized object
Not sure if this is expected because of a known issue?