Solved by ptrblck in post #2 
              
              
                Where would you like to upload these files? 
If you just would like to lazily load each transformed image stored as a .pt file, you could write a custom Dataset, pass the file paths in the __init__ method and load each file in __getitem__. 
Here is a small code sample: 
class MyDataset(Dataset):
   …