Solved by Siddharth_Soni in post #2 
              
              
                The below solution is what I was looking for. 
train_loader_2 = torch.utils.data.DataLoader(
    train_fm, batch_size=100,
    sampler =  sampler.SubsetRandomSampler(<array containing indices>)
)