!19133 fix bug of build.gradle for fl_client
Merge pull request !19133 from zhoushan33/flclient0630_2_om
This commit is contained in:
commit
f4d05174e6
|
@ -66,7 +66,7 @@ dependencies {
|
||||||
import io.netifi.flatbuffers.plugin.tasks.FlatBuffers
|
import io.netifi.flatbuffers.plugin.tasks.FlatBuffers
|
||||||
|
|
||||||
flatbuffers {
|
flatbuffers {
|
||||||
String msLib = System.getenv("MSLIBS_CACHE_PATH")
|
String msLib = System.getenv("MSLIBS_CACHE_PATH").toString()
|
||||||
FileTree msLibTree = fileTree(dir: msLib, include: ["flatbuffers_*/bin/flatc"]) //flatbuffers_*/bin/flatc
|
FileTree msLibTree = fileTree(dir: msLib, include: ["flatbuffers_*/bin/flatc"]) //flatbuffers_*/bin/flatc
|
||||||
String msLibPath = ''
|
String msLibPath = ''
|
||||||
msLibTree.each {File file ->
|
msLibTree.each {File file ->
|
||||||
|
|
|
@ -326,7 +326,9 @@ public class SyncFLJob {
|
||||||
int timeWindow = Integer.parseInt(args[11]);
|
int timeWindow = Integer.parseInt(args[11]);
|
||||||
boolean useElb = Boolean.parseBoolean(args[12]);
|
boolean useElb = Boolean.parseBoolean(args[12]);
|
||||||
int serverNum = Integer.parseInt(args[13]);
|
int serverNum = Integer.parseInt(args[13]);
|
||||||
String task = args[14];
|
boolean useHttps = Boolean.parseBoolean(args[14]);
|
||||||
|
String task = args[15];
|
||||||
|
|
||||||
FLParameter flParameter = FLParameter.getInstance();
|
FLParameter flParameter = FLParameter.getInstance();
|
||||||
LOGGER.info(Common.addTag("[args] trainDataset: " + trainDataset));
|
LOGGER.info(Common.addTag("[args] trainDataset: " + trainDataset));
|
||||||
LOGGER.info(Common.addTag("[args] vocabFile: " + vocabFile));
|
LOGGER.info(Common.addTag("[args] vocabFile: " + vocabFile));
|
||||||
|
@ -342,9 +344,11 @@ public class SyncFLJob {
|
||||||
LOGGER.info(Common.addTag("[args] timeWindow: " + timeWindow));
|
LOGGER.info(Common.addTag("[args] timeWindow: " + timeWindow));
|
||||||
LOGGER.info(Common.addTag("[args] useElb: " + useElb));
|
LOGGER.info(Common.addTag("[args] useElb: " + useElb));
|
||||||
LOGGER.info(Common.addTag("[args] serverNum: " + serverNum));
|
LOGGER.info(Common.addTag("[args] serverNum: " + serverNum));
|
||||||
|
LOGGER.info(Common.addTag("[args] useHttps: " + useHttps));
|
||||||
LOGGER.info(Common.addTag("[args] task: " + task));
|
LOGGER.info(Common.addTag("[args] task: " + task));
|
||||||
|
|
||||||
flParameter.setClientID(clientID);
|
flParameter.setClientID(clientID);
|
||||||
|
flParameter.setUseHttps(useHttps);
|
||||||
SyncFLJob syncFLJob = new SyncFLJob();
|
SyncFLJob syncFLJob = new SyncFLJob();
|
||||||
if (task.equals("train")) {
|
if (task.equals("train")) {
|
||||||
flParameter.setTrainDataset(trainDataset);
|
flParameter.setTrainDataset(trainDataset);
|
||||||
|
|
Loading…
Reference in New Issue