diff --git a/baselines/fedvssl/fedvssl/dataset_convert_to_json.py b/baselines/fedvssl/fedvssl/dataset_convert_to_json.py index 95c4ffbd8bf1..c66e901a1c79 100644 --- a/baselines/fedvssl/fedvssl/dataset_convert_to_json.py +++ b/baselines/fedvssl/fedvssl/dataset_convert_to_json.py @@ -1,9 +1,6 @@ -""" -Dataset pre-processing: convert .txt files to .json files -""" +"""Dataset pre-processing: convert .txt files to .json files.""" import json - # We use the .json files for the annotations. # One can convert the train_split_1.txt to train_split_1.json # by using the following code: @@ -30,4 +27,3 @@ anns.append({"name": name, "label": int(label)}) with open(out_path[i], "w") as f: json.dump(anns, f, indent=2) - \ No newline at end of file