I just wanna to try the demo,but I get this:IndexError: arrays used as indices must be of integer (or boolean) type
zhly0 opened this issue · 2 comments
zhly0 commented
the demo is mnist_demo.py:
cols = x_padded[r, c, d, :]
IndexError: arrays used as indices must be of integer (or boolean) type
in im2col.py
Eniac-Xie commented
Hi, have you ever modified the code? I download the code and run the mnist_demo.py, it's OK.
Which version of python and numpy did you use? I test the demo with python 2.7.10 and numpy 1.9.2
zhly0 commented
thanks for your reply!I think maybe the different edition of python lead to this,my python is the latest python3.5,