• Philip Meier's avatar
    Refactoring of the datasets (#749) · 6cabab3a
    Philip Meier authored
    * introduced new super class for all vision datasets
    
    * Removed root from repr if dataset has no root
    
    * reverted some overly-ambitious autoformatting
    
    * reverted some overly-ambitious autoformatting
    
    * added split attribute to repr of STL10 dataset
    
    * made Python2 friendly and more robust
    
    * Fixed call of the superclass constructor
    
    * moved transform and target_transform back to the base classes
    
    * added check if transforms are present before printing to avoid setting them within the constructor
    
    * added missing transforms and target_transforms to base classes
    
    * fixed linter error
    6cabab3a
coco.py 4.31 KB