丁云鹏 4 mesiacov pred
rodič
commit
746d0ed9e8

+ 1 - 1
recommend-model-produce/src/main/python/tools/static_ps_infer_v2.py

@@ -58,7 +58,7 @@ class InferenceFetchHandler(object):
         self.total_samples = 0
         
         # 添加 Paddle 需要的属性
-        self.period_secs = 60  # 设置默认的周期时间(秒)
+        self.period_secs = 1  # 设置默认的周期时间(秒)
         self.done_event = threading.Event()  # 添加完成事件
         self.terminal_event = threading.Event()  # 添加终止事件