Merge pull request #11490 from freqtrade/fix/continual_learning_pytorch
Fix continual learning pytorch
This commit is contained in:
@@ -763,6 +763,8 @@ class IFreqaiModel(ABC):
|
|||||||
init_model = None
|
init_model = None
|
||||||
else:
|
else:
|
||||||
init_model = self.dd.model_dictionary[pair]
|
init_model = self.dd.model_dictionary[pair]
|
||||||
|
# Set "fresh" tb_logger - the one in model_dictionary has the writer closed.
|
||||||
|
init_model.tb_logger = self.tb_logger
|
||||||
|
|
||||||
return init_model
|
return init_model
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user