You can try to use the classes defined in the PR for the dataset and see if it works.
The below link takes you to that exact file:

  
      github.com/pytorch/vision
  
  
      
    
  


  CORe50 Dataset added. Utils imporved with reporthook during download.




  by vlomonaco
  on 01:52AM - 23 Nov 17



  changed 5 files
  with 254 additions
  and 3 deletions.


  
  
    
    
  
  


If you don’t understand what they are doing I suggest you go through the data loading and processing tutorial 6