• Yassine Alouini's avatar
    Food101 new dataset api (#5584) · 31e503f1
    Yassine Alouini authored
    
    
    * [FEAT] Start implementing Food101 using the new datasets API. WIP.
    
    * [FEAT] Generate Food101 categories and start the test mock.
    
    * [FEAT] food101 dataset code seems to work now.
    
    * [TEST] food101 mock update.
    
    * [FIX] Some fixes thanks to running food101 tests.
    
    * [FIX] Fix mypy checks for the food101 file.
    
    * [FIX] Remove unused numpy.
    
    * [FIX] Some changes thanks to code review.
    
    * [ENH] More idomatic dataset code thanks to code review.
    
    * [FIX] Remove unused cast.
    
    * [ENH] Set decompress and extract to True for some performance gains.
    
    * [FEAT] Use the preprocess=decompress keyword.
    
    * [ENH] Use the train and test.txt file instead of the .json variants and simplify code + update mock data.
    
    * [ENH] Better food101 mock data generation.
    
    * [FIX] Remove a useless print.
    Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
    31e503f1
builtin_dataset_mocks.py 49.3 KB