Skip to content

Commit d4ff377

Browse files
committed
add notes
1 parent a4c775d commit d4ff377

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ For more details on datasets and FL algorithms in **IoT**, please refer to [FL-I
180180
### Examples for **MNIST** in the ***label skew*** scenario
181181
```bash
182182
cd ./dataset
183+
# Please modify train_ratio and alpha in dataset\utils\dataset_utils.py
184+
183185
# python generate_MNIST.py iid - - # for iid and unbalanced scenario
184186
# python generate_MNIST.py iid balance - # for iid and balanced scenario
185187
# python generate_MNIST.py noniid - pat # for pathological noniid and unbalanced scenario

docs/data.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ <h3 id="exp-mnist">Examples for <strong>MNIST</strong> in the <em><strong>label
238238

239239
<pre>
240240
# In ./dataset
241+
# Please modify train_ratio and alpha in dataset\utils\dataset_utils.py
242+
241243
# python generate_MNIST.py iid - - # for iid and unbalanced scenario
242244
# python generate_MNIST.py iid balance - # for iid and balanced scenario
243245
# python generate_MNIST.py noniid - pat # for pathological noniid and unbalanced scenario

0 commit comments

Comments
 (0)