mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-02 18:40:58 +08:00
Support auto skip flawed data
This commit is contained in:
@@ -283,10 +283,14 @@ class SigAnaRecord(RecordTemp):
|
||||
except FileNotFoundError:
|
||||
pass # continue to generating metrics
|
||||
else:
|
||||
logger.info("The results has previously generated, generation skipped.")
|
||||
logger.info("The results has previously generated, Generation skipped.")
|
||||
return
|
||||
|
||||
self.check()
|
||||
try:
|
||||
self.check()
|
||||
except FileNotFoundError:
|
||||
logger.warning("The dependent data does not exists. Generation skipped.")
|
||||
return
|
||||
|
||||
pred = self.load("pred.pkl")
|
||||
if label is None:
|
||||
|
||||
Reference in New Issue
Block a user