mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-18 21:38:09 +00:00
fix(Project): m1 support (#233)
This commit is contained in:
@@ -15,7 +15,6 @@ def save_models(pipeline_outcome: PipelineOutcome, config: Config) -> None:
|
||||
date_string = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M")
|
||||
|
||||
if not os.path.exists("output/models"):
|
||||
warnings.warn("No folder exists, creating one.")
|
||||
os.makedirs("output/models")
|
||||
|
||||
pickle.dump(dict_for_pickle, open("output/models/{}.p".format(date_string), "wb"))
|
||||
|
||||
Reference in New Issue
Block a user