allow pairs deeper in the queue to get trained if the higher priority pairs dont need training

This commit is contained in:
robcaulk 2022-05-29 20:02:43 +02:00
parent cc6cae47ec
commit 3f72263278

View File

@ -348,7 +348,7 @@ class IFreqaiModel(ABC):
# f'{sorted(self.data_drawer.pair_dict.items(), key=lambda item: item[1])}') # f'{sorted(self.data_drawer.pair_dict.items(), key=lambda item: item[1])}')
dh.save_data(model, coin=metadata['pair']) dh.save_data(model, coin=metadata['pair'])
if self.data_drawer.pair_dict[metadata['pair']['priority']] == 1: if self.data_drawer.pair_dict[metadata['pair']]['priority'] == 1:
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.training_on_separate_thread = False
self.retrain = False self.retrain = False