Merge pull request #7834 from freqtrade/fix-data-drawer-model-load

Fix sb3_contrib loading issue
This commit is contained in:
Matthias
2022-12-02 06:29:23 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ class BaseReinforcementLearningModel(IFreqaiModel):
self.policy_type = self.freqai_info['rl_config']['policy_type']
self.unset_outlier_removal()
self.net_arch = self.rl_config.get('net_arch', [128, 128])
self.dd.model_type = "stable_baselines"
self.dd.model_type = import_str
def unset_outlier_removal(self):
"""