| 
														
															@@ -157,8 +157,9 @@ class Main(object): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         init_model_path = config.get("runner.infer_load_path") 
														 | 
														
														 | 
														
															         init_model_path = config.get("runner.infer_load_path") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         model_mode = config.get("runner.model_mode", 0) 
														 | 
														
														 | 
														
															         model_mode = config.get("runner.model_mode", 0) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         client = HangZhouOSSClient("art-recommend") 
														 | 
														
														 | 
														
															         client = HangZhouOSSClient("art-recommend") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        client.put_object_from_file("dyp/test.tar.gz", "test.tar.gz") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        compress.uncompress_tar(test.tar.gz, init_model_path) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        client.get_object_to_file("dyp/test.tar.gz", "test.tar.gz") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        assert os.path.exists(data_path) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        compress.uncompress_tar("test.tar.gz", init_model_path) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #if fleet.is_first_worker(): 
														 | 
														
														 | 
														
															         #if fleet.is_first_worker(): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #fleet.load_inference_model(init_model_path, mode=int(model_mode)) 
														 | 
														
														 | 
														
															         #fleet.load_inference_model(init_model_path, mode=int(model_mode)) 
														 |