Force high priority pair to be trained before anything else.

This commit is contained in:
robcaulk
2022-06-01 07:55:05 +02:00
parent 7523ed825e
commit 0b0dd8dd80
2 changed files with 2 additions and 5 deletions

View File

@@ -215,7 +215,8 @@ class IFreqaiModel(ABC):
self.data_drawer.return_null_values_to_strategy(dataframe, dh)
return dh
if (not self.training_on_separate_thread and not self.follow_mode):
if (not self.training_on_separate_thread and not self.follow_mode
and self.data_drawer.pair_dict[metadata['pair']]['priority'] == 1):
file_exists = False
if trained_timestamp != 0: # historical model available