anupamme / leaf

Leaf: A Benchmark for Federated Settings
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Convert chexpert data into leaf format #1

Open flipflopapp opened 5 years ago

flipflopapp commented 5 years ago

Chexpert data is in a csv file. Each row has a set of features and has an path to an image and some labels.

Leaf data is in a json file. The data is supposed to be with different users. The top level keys in the json file are - users, num_samples and user_data.

(please add some code snippets below)

CHEXPERT DATA ---> INITIAL PREPROCESSING (map to numeric categories and convert image dimensions) ----> Map to Leaf json format

Open questions :- 1) What are our image dimensions?