@ptrblck
HI, i have one question…
so i have a list of list of list…sth like this
img1
   bbox
      cls1_bbox_list (100*5 ndarray)
      cls2_bbox_list (95*5 ndarray)
      cls3_bbox_list ([ ] )  ##empty
  masks
      cls1_masks_list  (5*256*256)
       cls2_mask_list ([ ])
img2
  ....

how I can quickly convert them into torch tensor and put into GPU?
I did
 map(torch.cuda.FloatTensor,  the_whole_listoflistoflist)

but it seems a bit slow
any ideas?  Thanks in advance