@ptrblck I was just reading this response you wrote back in 2018.  I am trying to do some basic speed up on my Dataloader (loading images).  Is what you wrote here still valid? I saw you also responded to a similar post here 133 and I wasn’t sure if you have to use multiprocessing Array in most cases.  I liked the simplicity of what you show here.  I am doing 5 folds, 15 epochs per fold, and Test Time Augmentation x 15 on Validation and Test.  So that’s a lot of time reading the same files from disk over and over, and I am hoping I can use something like this to speed things up a bit.