mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 14:56:55 +08:00
fix ModelUpdater
This commit is contained in:
@@ -136,7 +136,7 @@ class PredUpdater(RecordUpdater):
|
|||||||
# https://github.com/pytorch/pytorch/issues/16797
|
# https://github.com/pytorch/pytorch/issues/16797
|
||||||
|
|
||||||
start_time = get_date_by_shift(self.last_end, 1, freq=self.freq)
|
start_time = get_date_by_shift(self.last_end, 1, freq=self.freq)
|
||||||
if start_time >= self.to_date:
|
if start_time > self.to_date:
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
f"The prediction in {self.record.info['id']} are latest ({start_time}). No need to update to {self.to_date}."
|
f"The prediction in {self.record.info['id']} are latest ({start_time}). No need to update to {self.to_date}."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user