forked from FedML-AI/FedML
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87c7dee
commit c9e1ef7
Showing
7 changed files
with
8 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
SOURCE=. | ||
ENTRY=torch_client.py | ||
ENTRY=fedml_iot.py | ||
CONFIG=config | ||
DEST=./mlops | ||
fedml build -t client -sf $SOURCE -ep $ENTRY -cf $CONFIG -df $DEST | ||
|
||
|
||
SOURCE=. | ||
ENTRY=torch_server.py | ||
ENTRY=fedml_iot.py | ||
CONFIG=config | ||
DEST=./mlops | ||
fedml build -t server -sf $SOURCE -ep $ENTRY -cf $CONFIG -df $DEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
RANK=$1 | ||
python3 torch_client.py --cf config/fedml_config.yaml --rank $RANK | ||
python3 fedml_iot.py --cf config/fedml_config.yaml --rank $RANK --role client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
python3 torch_server.py --cf config/fedml_config.yaml --rank 0 | ||
python3 fedml_iot.py --cf config/fedml_config.yaml --rank 0 --role server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
iot/anomaly_detection_for_cybersecurity/torch_centralized_simulation.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.