Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export CUDA_VISIBLE_DEVICES=


```
mkdir log_synthetic
bash run_fedavg.sh synthetic_iid 0 | tee log_synthetic/synthetic_iid_client10_epoch20_mu0
bash run_fedprox.sh synthetic_iid 0 1 | tee log_synthetic/synthetic_iid_client10_epoch20_mu1
bash run_fedavg.sh synthetic_0_0 0 | tee log_synthetic/synthetic_0_0_client10_epoch20_mu0
Expand Down
4 changes: 3 additions & 1 deletion data/nist/data/my_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def main():


for class_ in os.listdir(file_dir):

if class_ == ".DS_Store":
continue

real_class = relabel_class(class_)
if real_class >= 36 and real_class <= 45:
full_img_path = file_dir + "/" + class_ + "/train_" + class_
Expand Down
4 changes: 2 additions & 2 deletions data/synthetic_iid/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```
python generate_synthetic.py
```
python generate_iid.py
```