Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleFL
提交
7da61872
P
PaddleFL
项目概览
PaddlePaddle
/
PaddleFL
通知
35
Star
5
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
6
列表
看板
标记
里程碑
合并请求
4
Wiki
3
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleFL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
6
Issue
6
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
3
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7da61872
编写于
4月 30, 2020
作者:
J
jingqinghe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
63089a27
变更
29
隐藏空白更改
内联
并排
Showing
29 changed file
with
66 addition
and
66 deletion
+66
-66
python/paddle_fl/paddle_fl/core/server/fl_server.py
python/paddle_fl/paddle_fl/core/server/fl_server.py
+1
-1
python/paddle_fl/paddle_fl/core/trainer/fl_trainer.py
python/paddle_fl/paddle_fl/core/trainer/fl_trainer.py
+1
-1
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_master.py
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_scheduler.py
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_server.py
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_server.py
+3
-3
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_trainer.py
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_trainer.py
+2
-2
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_master.py
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_scheduler.py
...n/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_server.py
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_server.py
+1
-1
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_trainer.py
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_trainer.py
+2
-2
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_master.py
...on/paddle_fl/paddle_fl/examples/femnist_demo/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_scheduler.py
...paddle_fl/paddle_fl/examples/femnist_demo/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_server.py
...on/paddle_fl/paddle_fl/examples/femnist_demo/fl_server.py
+3
-3
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_trainer.py
...n/paddle_fl/paddle_fl/examples/femnist_demo/fl_trainer.py
+3
-3
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_master.py
...on/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_scheduler.py
...paddle_fl/paddle_fl/examples/gru4rec_demo/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_server.py
...on/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_server.py
+3
-3
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_trainer.py
...n/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_trainer.py
+3
-3
python/paddle_fl/paddle_fl/examples/k8s_deployment/master/fl_master.py
..._fl/paddle_fl/examples/k8s_deployment/master/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/k8s_deployment/scheduler/fl_scheduler.py
...ddle_fl/examples/k8s_deployment/scheduler/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/k8s_deployment/server/fl_server.py
..._fl/paddle_fl/examples/k8s_deployment/server/fl_server.py
+3
-3
python/paddle_fl/paddle_fl/examples/k8s_deployment/trainer0/fl_trainer.py
.../paddle_fl/examples/k8s_deployment/trainer0/fl_trainer.py
+2
-2
python/paddle_fl/paddle_fl/examples/k8s_deployment/trainer1/fl_trainer.py
.../paddle_fl/examples/k8s_deployment/trainer1/fl_trainer.py
+2
-2
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_master.py
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_master.py
+3
-3
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_scheduler.py
.../paddle_fl/paddle_fl/examples/secagg_demo/fl_scheduler.py
+1
-1
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_server.py
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_server.py
+3
-3
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_trainer.py
...on/paddle_fl/paddle_fl/examples/secagg_demo/fl_trainer.py
+2
-2
python/paddle_fl/paddle_fl/examples/submitter_demo/scheduler_client.py
..._fl/paddle_fl/examples/submitter_demo/scheduler_client.py
+4
-4
python/paddle_fl/paddle_fl/examples/submitter_demo/train_program.py
...dle_fl/paddle_fl/examples/submitter_demo/train_program.py
+4
-4
未找到文件。
python/paddle_fl/paddle_fl/core/server/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle.fluid
as
fluid
from
paddle_fl.
.jingqinghe_newname
.core.scheduler.agent_master
import
FLServerAgent
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLServerAgent
class
FLServer
(
object
):
...
...
python/paddle_fl/paddle_fl/core/trainer/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
logging
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLWorkerAgent
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLWorkerAgent
import
numpy
import
hmac
import
hashlib
...
...
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_master.py
浏览文件 @
7da61872
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
class
Model
(
object
):
...
...
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
worker_num
=
2
server_num
=
1
...
...
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
server
=
FLServer
()
server_id
=
0
job_path
=
"fl_job_config"
...
...
python/paddle_fl/paddle_fl/examples/ctr_demo/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
numpy
as
np
import
sys
import
logging
...
...
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_master.py
浏览文件 @
7da61872
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
math
...
...
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl.
core.scheduler.agent_master
import
FLScheduler
worker_num
=
4
server_num
=
1
...
...
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.core.server.fl_server
import
FLServer
from
paddle_fl.core.master.fl_job
import
FLRunTimeJob
...
...
python/paddle_fl/paddle_fl/examples/dpsgd_demo/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
numpy
import
sys
import
paddle
...
...
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_master.py
浏览文件 @
7da61872
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
class
Model
(
object
):
...
...
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
worker_num
=
4
server_num
=
1
...
...
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
server
=
FLServer
()
server_id
=
0
job_path
=
"fl_job_config"
...
...
python/paddle_fl/paddle_fl/examples/femnist_demo/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
import
paddle_fl.
jingqinghe_newname
.dataset.femnist
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
paddle_fl.
paddle_fl
.dataset.femnist
import
numpy
import
sys
import
paddle
...
...
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_master.py
浏览文件 @
7da61872
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
class
Model
(
object
):
...
...
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
worker_num
=
4
server_num
=
1
...
...
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
server
=
FLServer
()
server_id
=
0
job_path
=
"fl_job_config"
...
...
python/paddle_fl/paddle_fl/examples/gru4rec_demo/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
jingqinghe_newname
.reader.gru4rec_reader
import
Gru4rec_Reader
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.reader.gru4rec_reader
import
Gru4rec_Reader
import
paddle.fluid
as
fluid
import
numpy
as
np
import
sys
...
...
python/paddle_fl/paddle_fl/examples/k8s_deployment/master/fl_master.py
浏览文件 @
7da61872
...
...
@@ -15,9 +15,9 @@
import
argparse
import
paddle.fluid
as
fluid
import
os
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
def
parse_args
():
...
...
python/paddle_fl/paddle_fl/examples/k8s_deployment/scheduler/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
import
argparse
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
def
parse_args
():
...
...
python/paddle_fl/paddle_fl/examples/k8s_deployment/server/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
os
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
time
server
=
FLServer
()
server_id
=
0
...
...
python/paddle_fl/paddle_fl/examples/k8s_deployment/trainer0/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
numpy
as
np
import
sys
import
os
...
...
python/paddle_fl/paddle_fl/examples/k8s_deployment/trainer1/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
numpy
as
np
import
sys
import
os
...
...
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_master.py
浏览文件 @
7da61872
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
paddle.fluid
as
fluid
import
paddle_fl.
jingqinghe_newname
as
fl
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
import
paddle_fl.
paddle_fl
as
fl
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
class
Model
(
object
):
...
...
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_scheduler.py
浏览文件 @
7da61872
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
worker_num
=
2
server_num
=
1
...
...
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_server.py
浏览文件 @
7da61872
...
...
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
server
=
FLServer
()
server_id
=
0
job_path
=
"fl_job_config"
...
...
python/paddle_fl/paddle_fl/examples/secagg_demo/fl_trainer.py
浏览文件 @
7da61872
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
import
numpy
import
sys
import
logging
...
...
python/paddle_fl/paddle_fl/examples/submitter_demo/scheduler_client.py
浏览文件 @
7da61872
...
...
@@ -18,11 +18,11 @@ import random
import
zmq
import
time
import
sys
from
paddle_fl.
jingqinghe_newname
.core.submitter.client_base
import
HPCClient
from
paddle_fl.
jingqinghe_newname
.core.scheduler.agent_master
import
FLScheduler
from
paddle_fl.
paddle_fl
.core.submitter.client_base
import
HPCClient
from
paddle_fl.
paddle_fl
.core.scheduler.agent_master
import
FLScheduler
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
jingqinghe_newname
.core.strategy.fl_strategy_base
import
FLStrategyFactory
from
paddle_fl.
paddle_fl
.core.master.job_generator
import
JobGenerator
from
paddle_fl.
paddle_fl
.core.strategy.fl_strategy_base
import
FLStrategyFactory
from
model
import
Model
import
tarfile
...
...
python/paddle_fl/paddle_fl/examples/submitter_demo/train_program.py
浏览文件 @
7da61872
...
...
@@ -17,11 +17,11 @@ import random
import
zmq
import
os
import
tarfile
import
paddle_fl.
jingqinghe_newname
as
fl
import
paddle_fl.
paddle_fl
as
fl
import
paddle.fluid
as
fluid
from
paddle_fl.
jingqinghe_newname
.core.server.fl_server
import
FLServer
from
paddle_fl.
jingqinghe_newname
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
jingqinghe_newname
.core.trainer.fl_trainer
import
FLTrainerFactory
from
paddle_fl.
paddle_fl
.core.server.fl_server
import
FLServer
from
paddle_fl.
paddle_fl
.core.master.fl_job
import
FLRunTimeJob
from
paddle_fl.
paddle_fl
.core.trainer.fl_trainer
import
FLTrainerFactory
import
numpy
as
np
import
sys
import
logging
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录