提交 7da61872 编写于 作者: J jingqinghe

update

上级 63089a27
......@@ -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):
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
......@@ -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():
......
......@@ -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():
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册