|
@@ -15,7 +15,7 @@
|
|
|
from __future__ import print_function
|
|
|
import os
|
|
|
os.environ['FLAGS_enable_pir_api'] = '0'
|
|
|
-from utils.static_ps.reader_helper import get_infer_reader
|
|
|
+from utils.static_ps.reader_helper_hdfs import get_infer_reader
|
|
|
from utils.static_ps.program_helper import get_model, get_strategy, set_dump_config
|
|
|
from utils.static_ps.metric_helper import set_zero, get_global_auc
|
|
|
from utils.static_ps.common_ps import YamlHelper, is_distributed_env
|
|
@@ -273,7 +273,9 @@ class Main(object):
|
|
|
epoch_time = time.time() - epoch_start_time
|
|
|
logger.info(
|
|
|
"using time {} second, ips {}/sec.".format(epoch_time, self.count_method))
|
|
|
-
|
|
|
+ while True:
|
|
|
+ time.sleep(300)
|
|
|
+ continue;
|
|
|
if reader_type == "InmemoryDataset":
|
|
|
self.reader.release_memory()
|
|
|
|
|
@@ -325,6 +327,7 @@ class Main(object):
|
|
|
debug=debug,
|
|
|
fetch_handler=fetch_handler)
|
|
|
fetch_handler.finish()
|
|
|
+
|
|
|
|
|
|
|
|
|
def heter_train_loop(self, epoch):
|