Maybe this discussion will help:

  
    
    
    Load Coil20 Dataset 
  
  
    Hi, I want to use Coil20 dataset for my project. I have the dataset in MAT file. Is there any way to use this data in PyTorch?