Skip to content

Commit

Permalink
Revert "minor update"
Browse files Browse the repository at this point in the history
This reverts commit c61f3c9.
  • Loading branch information
TsingZ0 committed Nov 9, 2024
1 parent c61f3c9 commit dc4ec82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dataset/generate_HAR.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def generate_dataset(dir_path):
print("-" * 50)

train_data, test_data = split_data(X, y)
save_file(config_path, train_path, test_path, train_data, test_data,
num_clients, num_classes, statistic, None, None, None)
save_file(config_path, train_path, test_path, train_data, test_data, num_clients, num_classes, statistic)


def load_data_HAR(data_folder):
Expand Down
3 changes: 1 addition & 2 deletions dataset/generate_PAMAP2.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def generate_dataset(dir_path):
print("-" * 50)

train_data, test_data = split_data(X, y)
save_file(config_path, train_path, test_path, train_data, test_data,
num_clients, num_classes, statistic, None, None, None)
save_file(config_path, train_path, test_path, train_data, test_data, num_clients, num_classes, statistic)


def load_data_PAMAP2(data_folder):
Expand Down

0 comments on commit dc4ec82

Please sign in to comment.