瀏覽代碼

add model path

often 5 月之前
父節點
當前提交
0af360767d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      recommend-model-produce/src/main/python/tools/static_ps_infer_v2.py

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

@@ -212,8 +212,8 @@ class Main(object):
         init_model_path = config.get("runner.infer_load_path")
         model_mode = config.get("runner.model_mode", 0)
         client = HangZhouOSSClient("art-recommend")
-        client.get_object_to_file("dyp/test.tar.gz", "test.tar.gz")
-        compress.uncompress_tar("test.tar.gz", init_model_path)
+        client.get_object_to_file("lqc/64.zip", "64.zip")
+        compress.uncompress_tar("64.zip", init_model_path)
         assert os.path.exists(init_model_path)
 
         #if fleet.is_first_worker():