Skip to content

Commit

Permalink
Merge branch 'securefederatedai:develop' into straggler_handling_update
Browse files Browse the repository at this point in the history
  • Loading branch information
ishant162 authored Nov 13, 2024
2 parents bd23ceb + b8a1f57 commit 92f8497
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openfl/federated/data/loader_gandlf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ def __init__(self, data_path, feature_shape):
data_path (str): The path to the directory containing the data.
feature_shape (tuple): The shape of an example feature array.
"""
self.train_csv = data_path + "/train.csv"
if "inference" in data_path:
self.train_csv = None
else:
self.train_csv = data_path + "/train.csv"
self.val_csv = data_path + "/valid.csv"
self.train_dataloader = None
self.val_dataloader = None
Expand Down

0 comments on commit 92f8497

Please sign in to comment.