From 597916e653e9334a996893d5864967c78d8a1d13 Mon Sep 17 00:00:00 2001 From: guru4elephant Date: Sat, 8 Feb 2020 20:45:24 +0800 Subject: [PATCH] add auto generation of fluid_time_file --- python/paddle_serving_server/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle_serving_server/__init__.py b/python/paddle_serving_server/__init__.py index c0c086f4..d8b58bbe 100644 --- a/python/paddle_serving_server/__init__.py +++ b/python/paddle_serving_server/__init__.py @@ -101,6 +101,7 @@ class Server(object): self.model_config_path = model_config_path self.engine.name = "general_model" self.engine.reloadable_meta = model_config_path + "/fluid_time_file" + os.system("touch {}".format(self.engine.reloadable_meta)) self.engine.reloadable_type = "timestamp_ne" self.engine.runtime_thread_num = 0 self.engine.batch_infer_size = 0 -- GitLab