Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/ext-mtakagi/cupy/cupyx/scipy/sparse/data.py", line 284, in min

return self._min_or_max(axis, out, cupy.min, sum_duplicates, nonzero)


 "/home/ext-mtakagi/cupy/cupyx/scipy/sparse/data.py", line 163, in _min_or_max

axis, min_or_max, sum_duplicates, non_zero)


 "/home/ext-mtakagi/cupy/cupyx/scipy/sparse/data.py", line 139, in _min_or_max_axis

N = self.shape[axis]
TypeError: tuple indices must be integers or slices, not NoneType

Traceback (most recent call last):


 "./sassy.py", line 22, in <module>

sys.exit(main(sys.argv))


 "./sassy.py", line 18, in main

fitness = ff.evaluate_fitness()


 "/home/peter/Projects/plonky/performance_fitness.py", line 36, in evaluate_fitness

return self.generator._model.performance_log_likelihood(sequence)


 "/opt/miniconda2/envs/src_magenta/lib/python2.7/site-packages/magenta/models/performance_rnn/performance_model.py", line 62, in performance_log_likelihood

return self._evaluate_log_likelihood([sequence])[0]


 "/opt/miniconda2/envs/src_magenta/lib/python2.7/site-packages/magenta/models/shared/events_rnn_model.py", line 492, in _evaluate_log_likelihood

initial_state[batch_indices])
TypeError: list indices must be integers, not xrange
