DefGen2 icon indicating copy to clipboard operation
DefGen2 copied to clipboard

Issue in load_prepare_data.py

Open chzhour opened this issue 8 years ago • 0 comments

line 21: maxlen = numpy.max(lengths)+1 line 27: x_mask[:lengths[idx]+1,idx] = 1.

It seems unnecessary to have "+1" in both these two places. It would cause problem logically.

chzhour avatar Apr 30 '17 13:04 chzhour