Results 36 comments of Jie Pu

### CRD interface The following is proposed CRD, and it has also already been discussed before in issue #50 : ```yaml apiVersion: sedna.io/v1alpha1 kind: FederatedLearningJob metadata: name: surface-defect-detection spec: pretrainedModel:...

### LIB interface The following is proposed Lib interface, more detailed code can be found in PR: **aggregate.py:** ``` python def run_server(): server = AggregationServer( data = data, estimator=estimator, aggregation=aggregation,...

### Overall Sequence Diagram ![design](http://www.plantuml.com/plantuml/png/ZL91QzHG4Bw_N_6eXrfeNPlUWaeXhbug21NsKbXUazdies_V2oyJQszTyL14KQHIB0ZrqE95hGShHUclQT9wyYyuIVP1ThiK3md9p3VVVFFDBASeB6O3nMPJG9GwJdtwt90w4LOCk98zK5B3Abg146_nr2WPCJQB4XNmOk_WukL9iJsy_FGvFniMxu-BrrylXxj_dX_bNuxEJm_OG4ZT8oRWr0c1YH2DvH4aoco1vIBbzzkF6JL36Sf4QEGF7r6KtcF1cPLWJOVAPD5CcLq9Wl5qKARMTCVO3R0plCG47Nv3oRYFwog3gsGGnJ3YQezdsvHnL8iLfDrPdE2QZlP6QA-9ZWIATP42NrrYZD6qVE4UVViyoP0d5iXPIMhum4IWE1g-fjCblzLA1FPRfjUguhUIzL4fEUFpq890w3vOkKbWD4bWT2HH6ZrFrIAEBSIY_7rYPHo3BQFKHgS3YGXsZf77n4Gk-ZpTqY6d7HcYsXGOzhjbupd6b3498uYJ6_OXtAYINPbsiuJcWeY1ZbYDhKd9TfzNHyMhdTJ64FTSkNhvb8e8meAEmuPAWaPYDoO5duIMXexCds_-ULMHKmqAGfn0yt5u1CsERXIohzPtNV4Y6qr3ctVmHfR62JDhINVNcan7ZTceWD73xonKfbaGeyrMKSVO0u6P1GxFq5AfovKLMQ8CrJX4UJsDIQYyeSsxgisxLfl7w9cgpNECKxHv_wtDOupDyl8YGtUH-RjNzMvj_kRR-Q_3_ErEVdfo-UDdyV7mxs-NktlxOlz5iNUIRt_8Zx-N19CynUvPldEiGYhBX_lCxRC-1wpld3TEtm6c7-JaCJOjQOv7kQjsDQwtsR2Ebj1DAn5gxEGLWexOChsoWVe7)

### AggregationTrigger Design AggregationTrigger is a module of LC. when a federated learning job starts, LC start to watch a config file or directory for listening whether there are some...

refer to https://github.com/kubeedge/sedna/issues/161#issuecomment-899973858 The following is corresponding environment variables passed to container: ``` TRANSMITTER: s3/ws S3_ENDPOINT_URL: "endpoint" ACCESS_KEY_ID: "ak" SECRET_ACCESS_KEY: "sk" PRETRAINED_MODEL_URL: "s3://sedna/surface-defect-detection-pretrained-model" AGG_DATA_PATH: "s3://sedna/fl/aggregation_data" ```

### Overall Sequence Diagram ![design](http://www.plantuml.com/plantuml/png/ZL91QzHG4Bw_N_6eXrfeNPlUWaeXhbug21NsKbXUazdies_V2oyJQszTyL14KQHIB0ZrqE95hGShHUclQT9wyYyuIVP1ThiK3md9p3VVVFFDBASeB6O3nMPJG9GwJdtwt90w4LOCk98zK5B3Abg146_nr2WPCJQB4XNmOk_WukL9iJsy_FGvFniMxu-BrrylXxj_dX_bNuxEJm_OG4ZT8oRWr0c1YH2DvH4aoco1vIBbzzkF6JL36Sf4QEGF7r6KtcF1cPLWJOVAPD5CcLq9Wl5qKARMTCVO3R0plCG47Nv3oRYFwog3gsGGnJ3YQezdsvHnL8iLfDrPdE2QZlP6QA-9ZWIATP42NrrYZD6qVE4UVViyoP0d5iXPIMhum4IWE1g-fjCblzLA1FPRfjUguhUIzL4fEUFpq890w3vOkKbWD4bWT2HH6ZrFrIAEBSIY_7rYPHo3BQFKHgS3YGXsZf77n4Gk-ZpTqY6d7HcYsXGOzhjbupd6b3498uYJ6_OXtAYINPbsiuJcWeY1ZbYDhKd9TfzNHyMhdTJ64FTSkNhvb8e8meAEmuPAWaPYDoO5duIMXexCds_-ULMHKmqAGfn0yt5u1CsERXIohzPtNV4Y6qr3ctVmHfR62JDhINVNcan7ZTceWD73xonKfbaGeyrMKSVO0u6P1GxFq5AfovKLMQ8CrJX4UJsDIQYyeSsxgisxLfl7w9cgpNECKxHv_wtDOupDyl8YGtUH-RjNzMvj_kRR-Q_3_ErEVdfo-UDdyV7mxs-NktlxOlz5iNUIRt_8Zx-N19CynUvPldEiGYhBX_lCxRC-1wpld3TEtm6c7-JaCJOjQOv7kQjsDQwtsR2Ebj1DAn5gxEGLWexOChsoWVe7)

Hi @XinYao1994 ,it's very nice of integrating Plato to Federated Learning feature of Sedna. But I don't think the CRD interface should expose "PlatoConfig" to sedna user, because of: -...

Here is a crd example based on discussion above: ```yaml apiVersion: sedna.io/v1alpha1 kind: FederatedLearningJob metadata: name: surface-defect-detection spec: stopCondition: operator: "or" # and conditions: - operator: ">" threshold: 100 metric:...

> **> We need the details how to set up the prerequisites above. For example, what kind of Kubernetes? Can GCP, AWS managed Kubernetes work? How can users set up...

Not supported yet. Currently Sedna supports Feaderated Learning, a distributed DL system. But it is still centralized, because it requires a central aggregation node. But I think this is really...