Skip to content

Commit

Permalink
Move examples to the root of the lib/python dir (#400)
Browse files Browse the repository at this point in the history
- This is to make it easier to run the examples from the root of the repo
- Also, this separates the source code (`lib/python/flame`) from the examples
- Documentation has been updated to reflect this change
  • Loading branch information
lkurija1 committed Apr 21, 2023
1 parent f8f1da9 commit 21bf040
Show file tree
Hide file tree
Showing 166 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/08-flame-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ In the first terminal, run the following commands:
```bash
conda activate flame
cd examples/mnist/trainer
cd ../examples/mnist/trainer
python keras/main.py config.json
```
Expand All @@ -113,7 +113,7 @@ Open another terminal and run:
```bash
conda activate flame
cd examples/mnist/aggregator
cd ../examples/mnist/aggregator
python keras/main.py config.json
```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We use MNIST for an example of FedBalancer, which is a trainer (client) sample s


This example runs within the `conda` environment.
After installing Flame SDK into `flame` environment, change directory to `lib/python/flame/examples/fedbalancer_mnist`, and run the following command.
After installing Flame SDK into `flame` environment, change directory to `lib/python/examples/fedbalancer_mnist`, and run the following command.

```bash
$ conda activate flame
Expand All @@ -33,4 +33,3 @@ You can track the progress by running the following commands:
```bash
$ cat output/aggregator/aggregator.log
```

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We use MNIST for an example of Oort, which is a client (trainer) selection frame

This example runs within the `conda` environment.
After installing Flame SDK into `flame` environment, change directory to `lib/python/flame/examples/oort_mnist`, and run the following command.
After installing Flame SDK into `flame` environment, change directory to `lib/python/examples/oort_mnist`, and run the following command.

```bash
$ conda activate flame
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 21bf040

Please sign in to comment.