Bug#848764: theano: test failures with Numpy 1.12

Daniel Stender debian at danielstender.com
Fri Feb 10 12:15:01 UTC 2017


Thanks for the patch. It solves most of the problems towards Numpy 1.12, but from the complete
testsuite 4 errors remain:

<cut>
ERROR: test_DownsampleFactorMax (theano.tensor.signal.tests.test_pool.TestDownsampleFactorMax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 189, in test_DownsampleFactorMax
    mode=mode)
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 39, in numpy_max_pool_2d
    output_val = numpy.zeros(out_shp)
TypeError: 'float' object cannot be interpreted as an integer

======================================================================
ERROR: test_max_pool_2d_2D (theano.tensor.signal.tests.test_pool.TestDownsampleFactorMax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 664, in test_max_pool_2d_2D
    mode=mode)
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 39, in numpy_max_pool_2d
    output_val = numpy.zeros(out_shp)
TypeError: 'float' object cannot be interpreted as an integer

======================================================================
ERROR: test_max_pool_2d_3D (theano.tensor.signal.tests.test_pool.TestDownsampleFactorMax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 710, in test_max_pool_2d_3D
    mode)
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 39, in numpy_max_pool_2d
    output_val = numpy.zeros(out_shp)
TypeError: 'float' object cannot be interpreted as an integer

======================================================================
ERROR: test_max_pool_2d_6D (theano.tensor.signal.tests.test_pool.TestDownsampleFactorMax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 737, in test_max_pool_2d_6D
    mode=mode)
  File "/<<PKGBUILDDIR>>/theano/tensor/signal/tests/test_pool.py", line 39, in numpy_max_pool_2d
    output_val = numpy.zeros(out_shp)
TypeError: 'float' object cannot be interpreted as an integer

----------------------------------------------------------------------
Ran 2995 tests in 6109.672s

FAILED (SKIP=113, errors=4)
</cut>

DS

-- 
4096R/DF5182C8
Debian Developer (stender at debian.org)
http://www.danielstender.com/



More information about the debian-science-maintainers mailing list