DeepLearningPython icon indicating copy to clipboard operation
DeepLearningPython copied to clipboard

Futurewarning: Using a non-tuple sequence for multidimensional indexing is deprecated

Open bcd122200 opened this issue 5 years ago • 0 comments

When running Network3.py I go the following error: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result. yk[[region_slices[i][r[i]] for i in xrange(nd)]]) I think it is because Theano has updated since the code was written but I don't know what to change to fix the error

bcd122200 avatar May 17 '20 22:05 bcd122200