File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1766,15 +1766,15 @@ def model_data(self):
1766
1766
"CompressionType" : "None" ,
1767
1767
}
1768
1768
}
1769
- else :
1770
- logger .warning (
1771
- "No finished training job found associated with this estimator. Please make sure "
1772
- "this estimator is only used for building workflow config"
1773
- )
1774
- model_uri = os .path .join (
1775
- self .output_path , self ._current_job_name , "output" , "model.tar.gz"
1776
- )
1777
- return model_uri
1769
+
1770
+ logger .warning (
1771
+ "No finished training job found associated with this estimator. Please make sure "
1772
+ "this estimator is only used for building workflow config"
1773
+ )
1774
+ model_uri = os .path .join (
1775
+ self .output_path , self ._current_job_name , "output" , "model.tar.gz"
1776
+ )
1777
+ return model_uri
1778
1778
1779
1779
@abstractmethod
1780
1780
def create_model (self , ** kwargs ):
You can’t perform that action at this time.
0 commit comments