fix(Project): m1 support (#233)

This commit is contained in:
Mark Aron Szulyovszky
2022-03-10 13:07:41 +01:00
committed by GitHub
parent 567cd5e9f0
commit 4a9f74d645
5 changed files with 23 additions and 35 deletions
-1
View File
@@ -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"))