From 6d8267328feb93309bb3f6390a9f53d8354c1407 Mon Sep 17 00:00:00 2001 From: longyu Date: Sat, 14 Jan 2023 08:58:15 +0100 Subject: [PATCH] undo to pickle without float32 casting --- freqtrade/freqai/data_drawer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/data_drawer.py b/freqtrade/freqai/data_drawer.py index 36d981840..37dd0344a 100644 --- a/freqtrade/freqai/data_drawer.py +++ b/freqtrade/freqai/data_drawer.py @@ -518,7 +518,7 @@ class FreqaiDataDrawer: rapidjson.dump(dk.data, fp, default=self.np_encoder, number_mode=rapidjson.NM_NATIVE) # save the train data to file so we can check preds for area of applicability later - dk.data_dictionary["train_features"].astype("float32").to_pickle( + dk.data_dictionary["train_features"].to_pickle( save_path / f"{dk.model_filename}_trained_df.pkl.bz2" )