Hello AI World dateset collection, training error

I have followed the steps in Hello AI World to collect my own dataset. Now I am trying to train it but it crashes with this error.
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
Does anybody know why??