I have a list object named " imgs " of tensors (50 images). I have an array of indices (indi) of length 29.
how do I index the list of tensors with the array of indices?
when I do the following I get:
imgs[indi]
TypeError: only integer scalar arrays can be converted to a scalar index
Thanks