|
@@ -159,6 +159,7 @@ class Main(object):
|
|
|
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)
|
|
|
+ assert os.path.exists(init_model_path)
|
|
|
|
|
|
#if fleet.is_first_worker():
|
|
|
#fleet.load_inference_model(init_model_path, mode=int(model_mode))
|