Skip to content

Commit

Permalink
Merge pull request #2 from APPFL/zilinghan/compressor
Browse files Browse the repository at this point in the history
update example script path
  • Loading branch information
Zilinghan authored Mar 14, 2024
2 parents 9ec22fd + 2d61f86 commit d24a7f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pip install -e .
### 🚀 Launch First Example Experiment
Please go to the `examples` folder first. To launch a server, users can run the following command,
```bash
python run_server.py --config config/server_fedcompass.yaml
python grpc/run_server.py --config config/server_fedcompass.yaml
```
where `--config` is the path to the configuration file. We currently provide three configuration files for the FL server, corresponding to three different FL algorithms
- `config/server_fedcompass.yaml`: FL server for the FedCompass algorithm
Expand All @@ -45,10 +45,10 @@ where `--config` is the path to the configuration file. We currently provide thr

The above command launches an FL server at `localhost:50051` waiting for connection from two FL clients. To launch two FL clients, open two separate terminals and go to the `examples` folder, and run the following two commands, respectively. This will help you start an FL experiment with two clients and a server running the specified algorithm.
```bash
python run_client_1.py
python grpc/run_client_1.py
```
```bash
python run_client_2.py
python grpc/run_client_2.py
```


Expand Down

0 comments on commit d24a7f4

Please sign in to comment.