• Zhiqiang Wang's avatar
    Add Flowers102 dataset (#5177) · a8f2dedb
    Zhiqiang Wang authored
    
    
    * Add Flowers102 datasets
    
    * Fix initialization of images and labels
    
    * Fix _check_exists in Flowers102
    
    * Add Flowers102 to datasets and docs
    
    * Add Flowers102TestCase to unittest
    
    * Fixing Python type statically
    
    * Shuffle the fake labels
    
    * Update test/test_datasets.py
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    
    * Apply the suggestions by pmeier
    
    * Use check_integrity to check file existence
    
    * Save the labels to base_folder
    
    * Minor fixes
    
    * Using a loop makes this more concise without reducing readability
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    
    * Using a loop makes this more concise without reducing readability
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    
    * Remove self.labels and self.label_to_index attributes
    
    * minor simplification
    
    * Check the exitence of image folder
    
    * Revert the check
    
    * Check the existence of image folder
    
    * valid -> val
    
    * keep some stuff private
    
    * minor doc arrangements
    
    * remove default FEATURE_TYPES
    
    * Simplify the datasets existence
    
    * check if the image folder exists
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    
    * isdir -> is_dir
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
    a8f2dedb
datasets.rst 2.05 KB