Dont reset pair priority if it doesnt successfully train
This commit is contained in:
parent
83dd453723
commit
4eb29c8810
@ -325,7 +325,7 @@ class IFreqaiModel(ABC):
|
||||
metadata)
|
||||
except Exception:
|
||||
logger.warning('Mismatched sizes encountered in strategy')
|
||||
self.data_drawer.pair_to_end_of_training_queue(metadata['pair'])
|
||||
# self.data_drawer.pair_to_end_of_training_queue(metadata['pair'])
|
||||
self.training_on_separate_thread = False
|
||||
self.retrain = False
|
||||
return
|
||||
@ -334,7 +334,7 @@ class IFreqaiModel(ABC):
|
||||
model = self.train(unfiltered_dataframe, metadata, dh)
|
||||
except ValueError:
|
||||
logger.warning('Value error encountered during training')
|
||||
self.data_drawer.pair_to_end_of_training_queue(metadata['pair'])
|
||||
# self.data_drawer.pair_to_end_of_training_queue(metadata['pair'])
|
||||
self.training_on_separate_thread = False
|
||||
self.retrain = False
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user