Skip to content

Commit

Permalink
Fix the problem of indents. (#5714)
Browse files Browse the repository at this point in the history
* add assembly

* Enable FL Sever in SGX

* Add start-fl-server.py to Docker Image

* rm ppml-assebly.xml

* Add start-python-fl-server-sgx.sh to Docker Image

* Put start-fl-server.py into assembly

* Fix the problem of indents.

Co-authored-by: Jiaming <[email protected]>
  • Loading branch information
Hanyu-Jin and Litchilitchy authored Sep 12, 2022
1 parent 6d7f031 commit 6509bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/ppml/src/bigdl/ppml/fl/nn/nn_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, conf, **kargs) -> None:
'pt': pt_agg.Aggregator(conf, **kargs)}
self.model_dir = tempfile.mkdtemp() # store tmp file dir
self.model_path = os.path.join(self.model_dir, "vfl_server_model")
self.client_num = int(self.client_num)
self.client_num = int(self.client_num)
self.condition = Condition()
self._lock = threading.Lock()

Expand Down
2 changes: 1 addition & 1 deletion python/ppml/src/bigdl/ppml/fl/nn/pytorch/aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, conf) -> None:
self.client_data = {'train':{}, 'eval':{}, 'pred':{}}
self.server_data = {'train':{}, 'eval':{}, 'pred':{}}
self.client_num = conf['clientNum']
self.client_num = int(self.client_num)
self.client_num = int(self.client_num)
self.condition = Condition()
self._lock = threading.Lock()
self.optimizer_cls = None
Expand Down

0 comments on commit 6509bd6

Please sign in to comment.